Skip to content

Commit 0a18fd1

Browse files
committed
fix(core): options object is optional for PackageJsonProject
1 parent 503a38e commit 0a18fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/project/packageJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class PackageJsonProject extends Project {
2020
* Creates a package.json based project.
2121
* @param options
2222
*/
23-
constructor(options: PackageJsonProjectOptions) {
23+
constructor(options: PackageJsonProjectOptions = {}) {
2424
const { path = PackageJsonManifest.Filename } = options
2525

2626
super({

0 commit comments

Comments
 (0)