@maggioli-rd/sr-codeowners-plugin
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,8 @@ | ||
## [1.0.4](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.0.3...v1.0.4) (2024-01-05) | ||
### Bug Fixes | ||
* add execa cmd args as array string ([1036cd7](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/commit/1036cd75e89e2fd5c19177429fe5b2cd3d618670)) | ||
## [1.0.3](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.0.2...v1.0.3) (2024-1-5) | ||
@@ -2,0 +9,0 @@ |
@@ -9,7 +9,7 @@ import SemanticReleaseError from "@semantic-release/error"; | ||
} | ||
await verifyCommand("which git touch sed grep head"); | ||
await verifyCommand("which", ["git", "touch", "sed", "grep", "head"]); | ||
}; | ||
const verifyCommand = async (command) => { | ||
const verifyCommand = async (command, args) => { | ||
try { | ||
await execa(command); | ||
await execa(command, args); | ||
} | ||
@@ -16,0 +16,0 @@ catch (error) { |
@@ -26,7 +26,7 @@ import SemanticReleaseError from "@semantic-release/error"; | ||
logger.log("Running cmd: " + cmd); | ||
await verifyCommand(cmd); | ||
await verifyCommand("bash", ["-c", cmd]); | ||
}; | ||
const verifyCommand = async (command) => { | ||
const verifyCommand = async (command, args) => { | ||
try { | ||
await execa(command); | ||
await execa(command, args); | ||
} | ||
@@ -33,0 +33,0 @@ catch (error) { |
{ | ||
"name": "@maggioli-rd/sr-codeowners-plugin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Maggioli Semantic Release Plugin: Codeowners", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
8442