mirror of
https://github.com/actions/setup-java.git
synced 2024-12-25 16:32:17 -05:00
strringify the logs
This commit is contained in:
parent
2b05c00514
commit
948db7588e
2 changed files with 1 additions and 1 deletions
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
|
@ -55,7 +55,7 @@ async function write(directory: string, settings: string) {
|
||||||
// default flag is 'w'
|
// default flag is 'w'
|
||||||
return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
|
return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
|
||||||
}
|
}
|
||||||
console.log(`code ${e.code} and O_EXCL ${fs.constants.O_EXCL}`);
|
console.log(`error ${JSON.stringify(e)} and O_EXCL ${fs.constants.O_EXCL}`);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue