Skip to content

Commit

Permalink
Reinstate commented-out TS
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Apr 24, 2024
1 parent 1bafd43 commit d70933e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 30 deletions.
19 changes: 7 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94311,6 +94311,7 @@ var FlakeHubPushAction = class {
}
executionEnvironment() {
const env = {};
env.FLAKEHUB_PUSH_VISIBILITY = this.visibility;
env.FLAKEHUB_PUSH_TAG = this.tag;
env.FLAKEHUB_PUSH_HOST = this.host;
env.FLAKEHUB_PUSH_LOG_DIRECTIVES = this.logDirectives;
Expand Down Expand Up @@ -94339,19 +94340,13 @@ var FlakeHubPushAction = class {
core.debug(
`execution environment: ${JSON.stringify(executionEnv, null, 2)}`
);
const exitCode = await exec.exec(
binary,
// We're setting this via flag for now due to a misspelling in the original environment variable.
// Remove this in favor of the environment variable only after PR #125 is merged.
["--visibility", this.visibility],
{
env: {
...executionEnv,
...process.env
// To get PATH, etc.
}
const exitCode = await exec.exec(binary, [], {
env: {
...executionEnv,
...process.env
// To get PATH, etc.
}
);
});
if (exitCode !== 0) {
this.idslib.recordEvent(EVENT_EXECUTION_FAILURE, {
exitCode
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d70933e

Please sign in to comment.