Skip to content

Commit

Permalink
fix: accept a lock file without dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Mar 11, 2024
1 parent 34d322e commit 65e6298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const isLockFileJson = is.ObjectOf({
})),
remote: is.OptionalOf(is.RecordOf(is.String, is.String)),
workspace: is.OptionalOf(is.ObjectOf({
dependencies: is.ArrayOf(is.String),
dependencies: is.OptionalOf(is.ArrayOf(is.String)),
})),
});

Expand Down

0 comments on commit 65e6298

Please sign in to comment.