Skip to content

Commit

Permalink
logging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Clark committed Dec 5, 2019
1 parent 96236d7 commit 2b05c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ async function write(directory: string, settings: string) {
// default flag is 'w'
return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
}
console.log(`code ${e.code} and O_EXCL ${fs.constants.O_EXCL}`);
throw e;
}
}

0 comments on commit 2b05c00

Please sign in to comment.