Skip to content

Commit

Permalink
fix: update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfaron committed Sep 12, 2024
1 parent d60cec2 commit 2538426
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 41 deletions.
2 changes: 1 addition & 1 deletion create-app-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async function loadLicenseText(nodeModulesFolder: string, packageName: string):
for (const file of await readdir(folder, { withFileTypes: true, recursive: true })) {
if (file.isFile()) {
if (path.basename(file.name, path.extname(file.name)).toLowerCase() === 'license') {
return (await readFile(join(file.parentPath, file.name))).toString();
return (await readFile(join(file.path, file.name))).toString();
}
}
}
Expand Down
21 changes: 2 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@angular/common": "^18.2.4",
"@angular/compiler": "^18.2.4",
"@angular/core": "^18.2.4",
"@angular/elements": "^18.2.4",
"@angular/forms": "^18.2.4",
"@angular/localize": "^18.2.3",
"@angular/platform-browser": "^18.2.4",
Expand Down
Loading

0 comments on commit 2538426

Please sign in to comment.