Skip to content

Commit

Permalink
src: Delete unused variable in uninstall.js
Browse files Browse the repository at this point in the history
Follow-up to some code removal in PR 103.
  • Loading branch information
DeeDeeG committed Dec 13, 2023
1 parent 6ea5aa0 commit cb47127
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/uninstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Delete the installed package(s) from the ~/.pulsar/packages directory.\
packageDirectory = path.join(packagesDirectory, packageName);
const packageManifestPath = path.join(packageDirectory, 'package.json');
if (fs.existsSync(packageManifestPath)) {
const packageVersion = this.getPackageVersion(packageDirectory);
fs.removeSync(packageDirectory);
} else if (!options.argv.hard) {
throw new Error(`No package.json found at ${packageManifestPath}`);
Expand Down

0 comments on commit cb47127

Please sign in to comment.