diff --git a/.changeset/dry-jokes-suffer.md b/.changeset/dry-jokes-suffer.md new file mode 100644 index 0000000000..68c126c8f8 --- /dev/null +++ b/.changeset/dry-jokes-suffer.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +Make solc default backup compilation diff --git a/packages/cli/constants/constants.ts b/packages/cli/constants/constants.ts index b8ecb36255..9362892326 100644 --- a/packages/cli/constants/constants.ts +++ b/packages/cli/constants/constants.ts @@ -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", }; diff --git a/packages/cli/src/core/detection/detect.ts b/packages/cli/src/core/detection/detect.ts index 97f9c7a4a1..6a464d8ec7 100644 --- a/packages/cli/src/core/detection/detect.ts +++ b/packages/cli/src/core/detection/detect.ts @@ -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) {