Skip to content

Commit 6f34b3c

Browse files
env fix
1 parent c04ffdf commit 6f34b3c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Sandbox.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,7 @@ export class Sandbox {
145145
}
146146

147147
private getCustomEnv(customSession?: SessionCreateOptions) {
148-
if (!customSession) {
149-
return undefined;
150-
}
151-
152-
return customSession.git
153-
? {
154-
...customSession.env,
155-
}
156-
: customSession.env;
148+
return customSession?.env;
157149
}
158150

159151
/**

0 commit comments

Comments
 (0)