Skip to content

Commit

Permalink
fix: io the import
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed May 14, 2024
1 parent dfadebb commit f499894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32739,7 +32739,7 @@ const verify = (filename, platform, version, verbose, failCi) => validate_awaite
external_node_path_namespaceObject.join(__dirname, 'pgp_keys.asc'),
].join(' ');
try {
yield (0,external_node_child_process_namespaceObject.execSync)(command);
yield (0,external_node_child_process_namespaceObject.execSync)(command, { stdio: 'inherit' });

Check warning

Code scanning / CodeQL

Shell command built from environment values Medium

This shell command depends on an uncontrolled
absolute path
.
}
catch (err) {
setFailure(`Codecov: Error importing gpg key: ${err.message}`, failCi);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const verify = async (
].join(' ');

try {
await execSync(command);
await execSync(command, {stdio: 'inherit'});
} catch (err) {
setFailure(`Codecov: Error importing gpg key: ${err.message}`, failCi);
}
Expand Down

0 comments on commit f499894

Please sign in to comment.