Skip to content

Commit

Permalink
release: v2.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mo4islona committed Feb 27, 2024
1 parent b83d6af commit c004a02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@subsquid/cli",
"description": "squid cli tool",
"version": "2.8.5",
"version": "2.8.6",
"license": "GPL-3.0-or-later",
"repository": "[email protected]:subsquid/squid-cli.git",
"publishConfig": {
Expand Down
7 changes: 6 additions & 1 deletion src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,12 @@ export default class Deploy extends DeployCommand {
ignore: (name) => {
const relativePath = path.relative(path.resolve(squidDir), path.resolve(name));

if (relativePath.includes(`node_modules`)) {
this.log(chalk.dim(`-- ignoring ${relativePath}`));
return true;
}

switch (relativePath) {
case 'node_modules':
case 'builds':
case 'lib':
case 'Dockerfile':
Expand All @@ -213,6 +217,7 @@ export default class Deploy extends DeployCommand {
},
},
});

CliUx.ux.action.stop(`${filesCount} file(s) ✔️`);
if (filesCount === 0) {
return this.error(`0 files were found in ${squidDir}. Please check the squid source, looks like it is empty`);
Expand Down

0 comments on commit c004a02

Please sign in to comment.