diff --git a/packages/semver/src/schematics/ng-add/utils/package-json.ts b/packages/semver/src/schematics/ng-add/utils/package-json.ts index 289c90b76..9e325f028 100644 --- a/packages/semver/src/schematics/ng-add/utils/package-json.ts +++ b/packages/semver/src/schematics/ng-add/utils/package-json.ts @@ -48,12 +48,6 @@ export function getJsonFile(tree: Tree, path: string): T { } } -export function getFileContents(tree: Tree, filePath: string): string { - const buffer = tree.read(filePath) || ''; - - return buffer.toString(); -} - export function overwritePackageJson( tree: Tree, content: PackageJson,