Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Mar 21, 2024
2 parents ecced9c + 2219520 commit e68d767
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 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.9.0",
"version": "2.9.1",
"license": "GPL-3.0-or-later",
"repository": "[email protected]:subsquid/squid-cli.git",
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions src/deploy-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import chalk from 'chalk';
import inquirer from 'inquirer';

import {
ApiError,
DeployResponse,
DeployStatus,
getDeploy,
Expand All @@ -21,8 +22,8 @@ export abstract class DeployCommand extends CliCommand {
async findSquid({ orgCode, squidName }: { orgCode: string; squidName: string }) {
try {
return await getSquid({ orgCode, squidName });
} catch (e: any) {
if (e.status === 404) {
} catch (e: unknown) {
if (e instanceof ApiError && e.request.status === 404) {
return null;
}

Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@
is-wsl "^2.1.1"
tslib "^2.3.1"

"@oclif/core@^3.19.1":
"@oclif/core@3.19.1", "@oclif/core@^3.19.1":
version "3.19.1"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.19.1.tgz#18af989f4b086ba9b6dfac891fb27f8281664084"
integrity sha512-dd1h4Hz+LwpuYhKvgBjDmW3/HgUAm93JM95cnbzSv5VcmiBeC+utjLvY96PmPbYxxDoz7XazEOl8oOpSLSEgcg==
Expand Down Expand Up @@ -840,7 +840,7 @@
chalk "^4.1.0"
tslib "^2.4.1"

"@oclif/plugin-autocomplete@^3.0.8":
"@oclif/[email protected]":
version "3.0.8"
resolved "https://registry.yarnpkg.com/@oclif/plugin-autocomplete/-/plugin-autocomplete-3.0.8.tgz#e874172bbf48b4ae6f019411582c56cedfcfa8cd"
integrity sha512-8h9PU56msmSD+s+mZcS/b+YYJwyxDwONC8FFQUbfeWAB/rRqMFj2tOMbh7VGk6ZUTU5KcQvMDeDQ3UXfTKVPqA==
Expand Down

0 comments on commit e68d767

Please sign in to comment.