1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-10 05:13:17 +00:00

remove pkg and keytar check

This commit is contained in:
Kyle Spearrin
2019-03-16 20:57:17 -04:00
parent f371067d56
commit 76a6b2407e

View File

@@ -129,13 +129,5 @@ export class Main {
}
}
console.log('non pkg: ' + !(process as any).pkg);
console.log('exists: ' + fs.existsSync('./keytar.node'));
if (!(process as any).pkg || fs.existsSync('./keytar.node')) {
const main = new Main();
main.run();
} else {
// tslint:disable-next-line
console.error('The keytar.node dependency must be in the same directory as bwdc.');
}
const main = new Main();
main.run();