We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fs.F_OK
1 parent 400e3c1 commit 7fe66bbCopy full SHA for 7fe66bb
lib/lifecycles/changelog.js
@@ -102,7 +102,7 @@ function outputChangelog(args, newVersion) {
102
103
function createIfMissing(args) {
104
try {
105
- fs.accessSync(args.infile, fs.F_OK);
+ fs.accessSync(args.infile, fs.constants.F_OK);
106
} catch (err) {
107
if (err.code === 'ENOENT') {
108
checkpoint(args, 'created %s', [args.infile]);
0 commit comments