From 163b309b1ce1e3fa3d4c834c9d8ed2fab79a73b5 Mon Sep 17 00:00:00 2001 From: rishabh3112 Date: Mon, 18 Mar 2019 20:40:46 +0530 Subject: [PATCH] fix(add): lint code --- packages/generators/add-generator.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/generators/add-generator.ts b/packages/generators/add-generator.ts index aaf8368015b..1eb80ed5aa1 100644 --- a/packages/generators/add-generator.ts +++ b/packages/generators/add-generator.ts @@ -162,14 +162,14 @@ export default class AddGenerator extends Generator { this.configuration.config.item = action; }); } else { - if(action === 'topScope'){ + if (action === "topScope") { return this.prompt([ - Input("topScope", "Enter line youwant to add to topScope"), + Input("topScope", "Enter line you want to add to topScope"), ]) .then((topScopeAnswer) => { this.configuration.config.topScope.push(topScopeAnswer.topScope); done(); - }) + }); } } const temp: string = action;