diff --git a/dist/index.js b/dist/index.js index 3f1a2e3..e31c4d7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4175,6 +4175,7 @@ function write(directory, settings) { // 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; } }); diff --git a/src/auth.ts b/src/auth.ts index f0d1197..1e0c4f8 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -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; } }