Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: ignore version mismatch when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 7, 2018
1 parent dbfeba3 commit 9a3e71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class Plugin implements IPlugin {
try {
const p = path.join(this.root, '.anycli.manifest.json')
const manifest: Manifest = loadJSONSync(p)
if (manifest.version !== this.version) {
if (!process.env.ANYCLI_NEXT_VERSION && manifest.version !== this.version) {
process.emitWarning(`Mismatched version in ${this.name} plugin manifest. Expected: ${this.version} Received: ${manifest.version}`)
} else {
debug('using manifest from', p)
Expand Down

0 comments on commit 9a3e71b

Please sign in to comment.