Skip to content

Commit

Permalink
Fix hasPackageLock detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Mar 9, 2024
1 parent 1b958d5 commit 55690c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ target/
.idea/
out/
src/main/generated/
.working-set/
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public AtomicBoolean getInitialValue(ExecutionContext ctx) {

@Override
public TreeVisitor<?, ExecutionContext> getScanner(AtomicBoolean hasPackageLock) {
return Preconditions.check(new IsPackageJson<>(), new JsonVisitor<ExecutionContext>() {
return Preconditions.check(new IsPackageLockJson<>(), new JsonVisitor<ExecutionContext>() {
@Override
public Json visitDocument(Json.Document document, ExecutionContext ctx) {
hasPackageLock.set(true);
Expand Down

0 comments on commit 55690c6

Please sign in to comment.