mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-10 21:33:20 +00:00
remove pkg and keytar check
This commit is contained in:
12
src/bwdc.ts
12
src/bwdc.ts
@@ -129,13 +129,5 @@ export class Main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('non pkg: ' + !(process as any).pkg);
|
const main = new Main();
|
||||||
console.log('exists: ' + fs.existsSync('./keytar.node'));
|
main.run();
|
||||||
|
|
||||||
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.');
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user