Skip to content

Commit 2065365

Browse files
committed
Small tweak to make error messages clearer
1 parent 447813f commit 2065365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/commands/workspaces.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ export async function runScript(config: Config, reporter: Reporter, flags: Objec
9292

9393
// Let the user know if the script doesn't exist
9494
if (!manifest.scripts) {
95-
reporter.warn(`No scripts defined in ${workspaceName}.`);
95+
reporter.warn(`No scripts defined in workspace ${workspaceName}.`);
9696
continue;
9797
} else if (!manifest.scripts[scriptName]) {
98-
reporter.warn(`${scriptName} not defined.`);
98+
reporter.warn(`${scriptName} not defined in workspace ${workspaceName}.`);
9999
continue;
100100
}
101101

0 commit comments

Comments
 (0)