Skip to content

Commit

Permalink
Merge pull request #931 from Green-Software-Foundation/fix-package-name
Browse files Browse the repository at this point in the history
Fix if-check package name
  • Loading branch information
narekhovhannisyan authored Aug 2, 2024
2 parents 93d5ab2 + 7f1f1bc commit c0c6b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/if-env/util/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c0c6b29

Please sign in to comment.