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 a4c759b commit 340d700Copy full SHA for 340d700
packages/nx-plugin/src/executors/cli/executor.ts
@@ -50,7 +50,7 @@ export default async function runAutorunExecutor(
50
return {
51
success: false,
52
command: commandString,
53
- error: error as Error,
+ error: error instanceof Error ? error : new Error(`${error}`),
54
};
55
}
56
0 commit comments