Skip to content

Commit 1d50b01

Browse files
committed
fix(circle): always prompt for CircleCI API token
1 parent c36c283 commit 1d50b01

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/lib/circle.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ function getUserInput(info) {
4444
const clipboardValue = await clipboard.read();
4545
return clipboardValue.length === 40 ? clipboardValue : null;
4646
},
47-
when: () => {
48-
try {
49-
return info.options['ask-for-passwords'];
50-
} catch (error) {
51-
info.log.error(
52-
'Something went wrong with your stored api token. Delete them from your keychain and try again'
53-
);
54-
process.exit(1); // eslint-disable-line unicorn/no-process-exit
55-
}
56-
},
5747
},
5848
{
5949
type: 'confirm',

0 commit comments

Comments
 (0)