Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Port fix for deploy spec to verify spec (#1474)
Browse files Browse the repository at this point in the history
Port fix for deploy spec to verify spec

Related to #1468
  • Loading branch information
spalladino committed Feb 19, 2020
1 parent dc298d0 commit 1a74948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/verify/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const options: Option[] = [
const networks = ConfigManager.getNetworkNamesFromConfig();
const { network: lastNetwork, expired } = Session.getNetwork();

if (expired) {
if (expired || lastNetwork === undefined) {
return {
prompt: 'Pick a network',
choices: networks,
Expand Down

0 comments on commit 1a74948

Please sign in to comment.