Browse Source

log conn string file err

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
0bf08672f6
  1. 5
      dist/src/utils/setup.js
  2. 2
      dist/src/utils/setup.js.map
  3. 4
      src/utils/setup.ts

5
dist/src/utils/setup.js

@ -233,6 +233,9 @@ function printQR() {
});
}
function connectionStringFile(str) {
fs.writeFile('connection_string.txt', str, function (err) { });
fs.writeFile('connection_string.txt', str, function (err) {
if (err)
console.log('ERROR SAVING connection_string.txt.', err);
});
}
//# sourceMappingURL=setup.js.map

2
dist/src/utils/setup.js.map

File diff suppressed because one or more lines are too long

4
src/utils/setup.ts

@ -230,5 +230,7 @@ async function printQR() {
}
function connectionStringFile(str:string){
fs.writeFile('connection_string.txt', str, function (err) {});
fs.writeFile('connection_string.txt', str, function (err) {
if (err) console.log('ERROR SAVING connection_string.txt.', err);
});
}
Loading…
Cancel
Save