Skip to content

Commit

Permalink
feat(ng-add): remove uneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoJBarrios authored and edbzn committed Jun 3, 2021
1 parent 741f76c commit 496ec3e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/semver/src/schematics/ng-add/utils/package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ export function getJsonFile<T>(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,
Expand Down

0 comments on commit 496ec3e

Please sign in to comment.