Skip to content

Commit

Permalink
fix(schematics): wrong package.json import
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Jan 16, 2024
1 parent 7474b29 commit 498d3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/lib/schematics/ng-add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const initSentry = (context: ChainableProjectContext, options: NgAddOptio
}
rules.push(
addImportToFile(mainTsPath, 'isDevMode', '@angular/core'),
addImportToFile(mainTsPath, 'packageJson', 'package.json', true)
addImportToFile(mainTsPath, 'packageJson', '../package.json', true)
);

// Provide library
Expand Down

0 comments on commit 498d3c5

Please sign in to comment.