Skip to content

Commit

Permalink
Get rid of workaround (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxvladislavvolkov authored Dec 4, 2018
1 parent 587326a commit bb67ea4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions commands/application.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ function runSchematicCommand(schematicCommand, options, evaluatingOptions) {

const additionalOptions = [];
for(let option in options) {
// NOTE: Removing boolean values is a workaround for the @angular/cli issue [angular/angular-cli#12150](https://github.com/angular/angular-cli/issues/12150)
const schematicOption = `--${option}${options[option] === true ? '' : `=${options[option]}`}`;
const schematicOption = `--${option}=${options[option]}`;
additionalOptions.push(schematicOption);
};

Expand Down

0 comments on commit bb67ea4

Please sign in to comment.