Skip to content

Commit

Permalink
Merge pull request #176 from santoro-mariano/patch-1
Browse files Browse the repository at this point in the history
Update index.ts
  • Loading branch information
manfredsteyer committed Dec 23, 2020
2 parents 59a595b + 9de490f commit 40c9d82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/schematics/add-ngx-build-plus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ export function addNgxBuildPlus(_options: any): Rule {
serve.builder = <any>'ngx-build-plus:dev-server';

const test = architect.test;
if (!test) throw new Error(`expected node projects/${project}/architect/test in angular.json`);
test.builder = <any>'ngx-build-plus:karma';
if (test) test.builder = <any>'ngx-build-plus:karma';

return updateWorkspace(workspace);
};
}



0 comments on commit 40c9d82

Please sign in to comment.