chore: fix hasModule error message at parseTargetBaseSpec
This commit is contained in:
parent
b8b3f01c96
commit
1074aaa5fa
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ def parseTargetBaseSpec (rootPkg : Package) (spec : String) : CliM (Package × O
|
|||
if pkg.hasModule mod then
|
||||
return (pkg, mod)
|
||||
else
|
||||
error s!"'{modStr}' is not a local module of package '{pkgStr}'"
|
||||
error s!"package '{pkgStr}' has no module '{modStr}'"
|
||||
| _ =>
|
||||
error s!"invalid target spec '{spec}' (too many '/')"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue