@pact-foundation/pact-node
Advanced tools
Comparing version 6.12.2 to 6.12.3
{ | ||
"name": "@pact-foundation/pact-node", | ||
"version": "6.12.2", | ||
"version": "6.12.3", | ||
"description": "A wrapper for the Ruby version of Pact to work within Node", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,3 +10,2 @@ "use strict"; | ||
var chalk = require("chalk"); | ||
var rimraf = require("rimraf"); | ||
function download(data) { | ||
@@ -55,3 +54,6 @@ return new Promise(function (resolve, reject) { | ||
.then(function () { | ||
rimraf.sync(path.resolve(__dirname, "bin", "pact-publish" + (data.isWindows ? ".bat" : ""))); | ||
var publishPath = path.resolve(data.platformFolderPath, "bin", "pact-publish" + (data.isWindows ? ".bat" : "")); | ||
if (fs.existsSync(publishPath)) { | ||
fs.unlinkSync(publishPath); | ||
} | ||
console.log(chalk.green("Extraction done.")); | ||
@@ -58,0 +60,0 @@ }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
316604
4282