create-fhevm-playground-pro 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/scaffolder.js
CHANGED
|
@@ -115,8 +115,8 @@ export function isMockedMode() {
|
|
|
115
115
|
else {
|
|
116
116
|
console.log(chalk_1.default.yellow(`Example ${exampleDirName} not found; using base template contracts/tests`));
|
|
117
117
|
}
|
|
118
|
-
// Ensure only hardhat.config.
|
|
119
|
-
const hardhatConfigFiles = ['hardhat.config.ts', 'hardhat.config.
|
|
118
|
+
// Ensure only hardhat.config.js exists (remove .ts, .cjs variants)
|
|
119
|
+
const hardhatConfigFiles = ['hardhat.config.ts', 'hardhat.config.cjs'];
|
|
120
120
|
for (const configFile of hardhatConfigFiles) {
|
|
121
121
|
const configPath = path_1.default.join(projectDir, configFile);
|
|
122
122
|
if (fs_extra_1.default.existsSync(configPath)) {
|