Skip to content

Commit

Permalink
fix(add): lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 committed Mar 18, 2019
1 parent 1162cf5 commit 163b309
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/generators/add-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 163b309

Please sign in to comment.