From 7f1f1bc64b5a32302475f5275b35fa08cc9ea170 Mon Sep 17 00:00:00 2001 From: manushak Date: Fri, 2 Aug 2024 21:04:34 +0400 Subject: [PATCH] fix(util): fix package name --- src/if-env/util/npm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/if-env/util/npm.ts b/src/if-env/util/npm.ts index f029bcdf2..f02898399 100644 --- a/src/if-env/util/npm.ts +++ b/src/if-env/util/npm.ts @@ -122,7 +122,7 @@ export const updatePackageJsonProperties = async ( const parsedPackageJsonContent = JSON.parse(packageJsonContent); const properties = { - name: 'if-environment', + name: packageJson.name || 'if-environment', description: packageJson.description, author: packageJson.author, bugs: packageJson.bugs,