From aed63e76f0aa0680d31760060225f57f136f20fb Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Wed, 15 Apr 2020 16:27:35 +0530 Subject: [PATCH] chore: use default params --- packages/webpack-scaffold/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-scaffold/src/index.ts b/packages/webpack-scaffold/src/index.ts index 4b62c74c4cb..73488052b51 100755 --- a/packages/webpack-scaffold/src/index.ts +++ b/packages/webpack-scaffold/src/index.ts @@ -109,7 +109,7 @@ export function InputValidate( message: string, cb?: (input: string) => string | boolean, defaultChoice?: string, - skip?: boolean, + skip = false, ): object | any { if (skip) return { [name]: defaultChoice }; const input: Generator.Question = {