8000 fix: notice about deprecated option replacement · gemini-testing/gemini@b066b16 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit b066b16

Browse files
authored
fix: notice about deprecated option replacement
1 parent 4f3f652 commit b066b16

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/cli/deprecations.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ function checkForRemovedOptions() {
3131
_.forEach(REMOVED_OPTIONS_REPLACEMENTS, function(replacement, option) {
3232
if (_.includes(process.argv, option)) {
3333
throw new GeminiError(
34-
util.format('Option %s is removed', option),
35-
'Instead use ' + replacement
34+
util.format('Option %s is removed. Instead use %s', option, replacement)
3635
);
3736
}
3837
});

0 commit comments

Comments
 (0)
0