Skip to content

Commit

Permalink
[CLI] fix CLI on paths with spaces for windows (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-maj committed Dec 2, 2022
1 parent 6e20d1f commit c42545a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-items-fetch.md
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Add changeset
2 changes: 1 addition & 1 deletion packages/cli/src/core/builder/hardhat.ts
Expand Up @@ -25,7 +25,7 @@ export class HardhatBuilder extends BaseBuilder {
//the hardhat extractor **logs out** the runtime config of hardhat, we take that stdout and parse it
const stringifiedConfig = (
await execute(
`npx hardhat run ${configExtractorScriptPath} --no-compile`,
`npx hardhat run "${configExtractorScriptPath}" --no-compile`,
options.projectPath,
)
).stdout;
Expand Down

0 comments on commit c42545a

Please sign in to comment.