Skip to content

Commit

Permalink
Added a unique exit when publishing an extension version that already…
Browse files Browse the repository at this point in the history
… exists (#3834)
  • Loading branch information
pavelgj committed Oct 15, 2021
1 parent cff2821 commit d06d46b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extensions/extensionsHelper.ts
Expand Up @@ -471,7 +471,8 @@ export async function publishExtensionVersionFromLocalSource(args: {
extensionSpec.version
)}) already exists for the extension '${clc.bold(
`${args.publisherId}/${args.extensionId}`
)}'. Please increment the version inside of extension.yaml.\n`
)}'. Please increment the version inside of extension.yaml.\n`,
{ exit: 103 }
);
}

Expand Down

0 comments on commit d06d46b

Please sign in to comment.