Log invalid locator

This commit is contained in:
Stéphan Kochen
2023-10-31 08:52:33 +01:00
parent 5ea05c5c03
commit 5cedf615d4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default class FetchOneCommand extends Command<CommandContext> {
const { locatorHash } = structUtils.parseLocator(this.locator, true);
const pkg = project.originalPackages.get(locatorHash);
if (!pkg) {
report.reportError(0, `Invalid locator`);
report.reportError(0, `Invalid locator: ${this.locator}`);
return;
}