8000 return but shoudl still fail · actions/setup-java@96236d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96236d7

Browse files
author
Bryan Clark
committed
return but shoudl still fail
1 parent 12896df commit 96236d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function write(directory: string, settings: string) {
4848
const location = path.join(directory, SETTINGS_FILE);
4949
console.log(`writing ${location} with options ${options}`);
5050
try {
51-
fs.writeFileSync(location, settings, options);
51+
return fs.writeFileSync(location, settings, options);
5252
} catch (e) {
5353
if (e.code == fs.constants.O_EXCL) {
5454
console.log(`overwriting existing file ${location}`);

0 commit comments

Comments
 (0)
0