From e777a6e78fe24b5884427c4e67b217be74f0dd90 Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Sat, 8 Feb 2020 00:48:17 +0000 Subject: [PATCH] Ignore ".dev" suffix when deciding on package version mismatch --- src/applyPatches.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applyPatches.ts b/src/applyPatches.ts index f8eddeeb..14ad915f 100644 --- a/src/applyPatches.ts +++ b/src/applyPatches.ts @@ -149,7 +149,7 @@ export function applyPatchesForApp({ ) { // yay patch was applied successfully // print warning if version mismatch - if (installedPackageVersion !== version) { + if (installedPackageVersion !== version.replace(/\.dev$/, "")) { printVersionMismatchWarning({ packageName: name, actualVersion: installedPackageVersion,