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

Commit

Permalink
Update src/ruby.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius Stock <vinistock@users.noreply.github.com>
  • Loading branch information
bitwise-aiden and vinistock authored Aug 4, 2023
1 parent 5451623 commit 2639a13
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ruby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ export class Ruby {
cwd: this.workingFolder,
});

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

if (result.stdout === "") {
// eslint-disable-next-line no-process-env
this._env = { ...process.env };
return;
};

Check failure on line 129 in src/ruby.ts

View workflow job for this annotation

GitHub Actions / build

Delete `;`

Check failure on line 129 in src/ruby.ts

View workflow job for this annotation

GitHub Actions / build

Delete `;`
// eslint-disable-next-line no-process-env
const env = { ...process.env, ...JSON.parse(result.stdout).exported };

Expand Down

0 comments on commit 2639a13

Please sign in to comment.