8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12bb8df commit 97043a2Copy full SHA for 97043a2
apps/rush-lib/src/logic/TaskSelector.ts
@@ -51,8 +51,12 @@ export class TaskSelector {
51
return undefined;
52
}
53
54
- const taskCommand: string = `${script} ${customParameterValues.join(' ')}`;
55
- return process.platform === 'win32' ? convertSlashesForWindows(taskCommand) : taskCommand;
+ if (!script) {
+ return '';
56
+ } else {
57
+ const taskCommand: string = `${script} ${customParameterValues.join(' ')}`;
58
+ return process.platform === 'win32' ? convertSlashesForWindows(taskCommand) : taskCommand;
59
+ }
60
61
62
public registerTasks(): TaskCollection {
0 commit comments