Skip to content

Commit a18f647

Browse files
fix: do not force npm to install dependencies when using ng add (#515)
Closes #513
1 parent e0cd81e commit a18f647

File tree

1 file changed

+2
-2
lines changed
  • projects/testing-library/schematics/ng-add

1 file changed

+2
-2
lines changed

projects/testing-library/schematics/ng-add/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ function addDependency(packageName: string, version: string, dependencyType: Nod
3232
};
3333
}
3434

35-
export function installDependencies(packageManager = 'npm') {
35+
export function installDependencies() {
3636
return (_tree: Tree, context: SchematicContext) => {
37-
context.addTask(new NodePackageInstallTask({ packageManager }));
37+
context.addTask(new NodePackageInstallTask());
3838

3939
context.logger.info(
4040
`Correctly installed @testing-library/angular.

0 commit comments

Comments
 (0)