Skip to content

Commit

Permalink
fix: Fix the issue of parameter case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 19, 2021
1 parent bfff925 commit 6b51c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function run(): Promise<void> {
argvs.appName = argvs._[0];
argvs.path = argvs.p = argvs.path || argvs.p || 'https://kktjs.github.io/zip/';
argvs.force = argvs.f = argvs.force || argvs.f || false;
argvs.example = argvs.e = argvs.example || argvs.e || 'basic';
argvs.example = argvs.e = (argvs.example || argvs.e || 'basic').toLocaleLowerCase();
create(argvs, exampleHelp);
} catch (error) {
console.log(`\x1b[31m${error.message}\x1b[0m`);
Expand Down

0 comments on commit 6b51c4e

Please sign in to comment.