Skip to content

Commit

Permalink
[CLI] Make solc default backup compilation (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-maj committed Dec 2, 2022
1 parent 3e87dd3 commit bef97f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dry-jokes-suffer.md
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Make solc default backup compilation
2 changes: 1 addition & 1 deletion packages/cli/constants/constants.ts
Expand Up @@ -11,5 +11,5 @@ export const CREATE_MESSAGES = {

export const ERROR_MESSAGES = {
noConfiguration:
"Failed to find a supported project configuration file in current directory",
"No contract project configuration file found in current directory",
};
1 change: 1 addition & 0 deletions packages/cli/src/core/detection/detect.ts
Expand Up @@ -36,6 +36,7 @@ export default async function detect(
name: "continue",
message:
"Do you want to continue and compile this project with solc instead?",
initial: true,
});
const shouldCompile = await prompt.run();
if (!shouldCompile) {
Expand Down

0 comments on commit bef97f7

Please sign in to comment.