Commit 948db758 authored by Bryan Clark's avatar Bryan Clark
Browse files

strringify the logs

parent 2b05c005
Loading
Loading
Loading
Loading

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+1 −1
Changes for src/auth.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -55,7 +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}`);
    console.log(`error ${JSON.stringify(e)} and O_EXCL ${fs.constants.O_EXCL}`);
    throw e;
  }
}