Skip to content

Commit

Permalink
fix: remove requrie ts-node/register from package
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Mar 29, 2021
1 parent a1204f8 commit 5377fe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"postcompile": "tsc -p test; tsc -p typedocExamples",
"prepack": "sf-build",
"pretest": "sf-compile-test",
"test": "sf-test --require ts-node/register"
"test": "sf-test"
},
"keywords": [
"force",
Expand Down
4 changes: 2 additions & 2 deletions src/keyChainImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ export class KeychainAccess implements PasswordStore {
}

// eslint-disable-next-line @typescript-eslint/no-misused-promises
credManager.on('close', async (code) => {
credManager.on('close', async (code: number) => {
try {
return await this.osImpl.onGetCommandClose(code as number, stdout, stderr, opts, fn);
return await this.osImpl.onGetCommandClose(code, stdout, stderr, opts, fn);
} catch (e) {
if (e.retry) {
if (retryCount >= GET_PASSWORD_RETRY_COUNT) {
Expand Down

0 comments on commit 5377fe4

Please sign in to comment.