Skip to content

Commit

Permalink
Fix number arguments building exec on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jtalk committed Nov 12, 2021
1 parent a144e86 commit ed05b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions curl.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export async function curl(
if (maxAttempts > 1) {
options.push(
"--retry",
maxAttempts,
`${maxAttempts}`,
"--retry-delay",
retryDelaySeconds,
`${retryDelaySeconds}`,
"--retry-connrefused"
);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5264,9 +5264,9 @@ async function curl(
if (maxAttempts > 1) {
options.push(
"--retry",
maxAttempts,
`${maxAttempts}`,
"--retry-delay",
retryDelaySeconds,
`${retryDelaySeconds}`,
"--retry-connrefused"
);
}
Expand Down

0 comments on commit ed05b45

Please sign in to comment.