legend-cli 1.0.8 → 1.0.9
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/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -22102,7 +22102,7 @@ var compileContract = async (contractName, options) => {
|
|
|
22102
22102
|
const hardhat = isHardhat(currentPath);
|
|
22103
22103
|
const prompt = new import_prompts.Prompt();
|
|
22104
22104
|
if (!contractName) {
|
|
22105
|
-
const files = await glob("contracts
|
|
22105
|
+
const files = await glob("contracts/*.sol", { ignore: ["node_modules/**", "artifacts/**"] });
|
|
22106
22106
|
if (files.length == 0) {
|
|
22107
22107
|
console.log(`There's nothing to publish`);
|
|
22108
22108
|
return false;
|