Skip to content

Commit

Permalink
fix: crash when using local modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Jan 26, 2025
1 parent 2751c49 commit 490f309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/cc/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func ModuleRun() {
}

// check if target exists
if Targets[CurrentTarget] == nil {
if Targets[CurrentTarget] == nil && CurrentTarget != nil {
CliPrintError("Target (%s) does not exist", CurrentTarget.Tag)
return
}
Expand Down

0 comments on commit 490f309

Please sign in to comment.