File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
- // Source hash: 19ceaee5753b47a4b702e1a86f0e92985f96bae6d23e4424bfaad638a7502b1b
1
+ // Source hash: 0ceb1709571d8df0b6b615a73ceabfd1601ad2c7816f5a81e36972d318e7bc95
2
2
import { createRequire } from "node:module";
3
3
var __create = Object.create;
4
4
var __getProtoOf = Object.getPrototypeOf;
@@ -30619,7 +30619,10 @@ var main = async () => {
30619
30619
templateName: "TEMPLATE_NAME",
30620
30620
workspaceParameters: "WORKSPACE_PARAMETERS"
30621
30621
};
30622
- const input = ActionInputSchema.parse(Object.fromEntries(Object.entries(inputEnv).map(([key, value]) => [key, process.env[value]])));
30622
+ const input = ActionInputSchema.parse(Object.fromEntries(Object.entries(inputEnv).map(([key, value]) => [
30623
+ key,
30624
+ process.env[value] === "" ? undefined : process.env[value]
30625
+ ])));
30623
30626
const action = new StartWorkspaceAction(console, input);
30624
30627
await action.execute();
30625
30628
};
Original file line number Diff line number Diff line change @@ -28,7 +28,10 @@ const main = async () => {
28
28
29
29
const input = ActionInputSchema . parse (
30
30
Object . fromEntries (
31
- Object . entries ( inputEnv ) . map ( ( [ key , value ] ) => [ key , process . env [ value ] ] )
31
+ Object . entries ( inputEnv ) . map ( ( [ key , value ] ) => [
32
+ key ,
33
+ process . env [ value ] === "" ? undefined : process . env [ value ] ,
34
+ ] )
32
35
)
33
36
) ;
34
37
const action = new StartWorkspaceAction ( console , input ) ;
You can’t perform that action at this time.
0 commit comments