Skip to content

Commit 00f1fb1

Browse files
committed
Clean up an error message.
1 parent 7bedc16 commit 00f1fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/rush-lib/src/scripts/install-run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ function _run(): void {
536536
]: string[] = process.argv;
537537

538538
if (!nodePath) {
539-
throw new Error('Unexpected exception: could not detect node path');
539+
throw new Error('Could not detect node path');
540540
}
541541

542542
const scriptFileName: string = path.basename(scriptPath).toLowerCase();

0 commit comments

Comments
 (0)