We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf39b5 commit 16a383fCopy full SHA for 16a383f
lib/commands/session.js
@@ -99,24 +99,7 @@ cmd.handler = function(argv) {
99
}
100
101
if (argv.delete) {
102
- log.info([
103
- chalk.red.bold('CAREFUL! This action CANNOT be undone!'),
104
- '\nThis will permanently delete all your submissions',
105
- 'and progress associated with this session.',
106
- '\nAre you sure you want to delete this session?\n',
107
- '\nPlease type in the session\'s',
108
- chalk.yellow.bold('number of accepted submissions'),
109
- 'to confirm.\n'
110
- ].join(' '));
111
-
112
- prompt.colors = false;
113
- prompt.message = '';
114
- prompt.start();
115
- prompt.get([{name: 'answer', type: 'integer', required: true}], function(e, x) {
116
- if (x.answer !== session.total_acs) return;
117
- return core.deleteSession(session, printSessions);
118
- });
119
- return;
+ return core.deleteSession(session, printSessions);
120
121
122
printSessions(null, sessions);
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments