diff --git a/src/uninstall.js b/src/uninstall.js index a5eb7f1e..680ebfe4 100644 --- a/src/uninstall.js +++ b/src/uninstall.js @@ -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}`);