Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Add early return when shadowenv returns an empty string #735

Merged
merged 3 commits into from
Aug 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/ruby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export class Ruby {
cwd: this.workingFolder,
});

if (result.stdout === "") return;

bitwise-aiden marked this conversation as resolved.
Show resolved Hide resolved
// eslint-disable-next-line no-process-env
const env = { ...process.env, ...JSON.parse(result.stdout).exported };

Expand Down