Skip to content

Commit f2a7627

Browse files
committed
CLI: remove unnecessary command-line argument passing for command change-exercise-types-json
1 parent d3599fc commit f2a7627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/labadmin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ yargs // eslint-disable-line no-unused-expressions
296296
command: 'change-exercise-types-json',
297297
aliases: ['json-cet'],
298298
desc: 'Change student\'s exercise types from json file',
299-
handler: async (argv) => {
299+
handler: async () => {
300300
const changeExTypes = require('./commands/change-exercise-types-json');
301-
await changeExTypes(argv);
301+
await changeExTypes();
302302
}
303303
})
304304
.command({

0 commit comments

Comments
 (0)