@semantic-release/git
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -7,3 +7,3 @@ const {defaultTo, castArray} = require('lodash'); | ||
async function verifyConditions(pluginConfig, context) { | ||
function verifyConditions(pluginConfig, context) { | ||
const {options} = context; | ||
@@ -18,3 +18,3 @@ // If the Git prepare plugin is used and has `assets` or `message` configured, validate them now in order to prevent any release if the configuration is wrong | ||
} | ||
await verifyGit(pluginConfig); | ||
verifyGit(pluginConfig); | ||
verified = true; | ||
@@ -25,3 +25,3 @@ } | ||
if (!verified) { | ||
await verifyGit(pluginConfig); | ||
verifyGit(pluginConfig); | ||
verified = true; | ||
@@ -28,0 +28,0 @@ } |
@@ -62,3 +62,3 @@ const execa = require('execa'); | ||
*/ | ||
async function gitHead(execaOpts) { | ||
function gitHead(execaOpts) { | ||
return execa.stdout('git', ['rev-parse', 'HEAD'], execaOpts); | ||
@@ -65,0 +65,0 @@ } |
@@ -26,3 +26,3 @@ const {isString, isUndefined, isArray, isPlainObject} = require('lodash'); | ||
*/ | ||
module.exports = async pluginConfig => { | ||
module.exports = pluginConfig => { | ||
const options = resolveConfig(pluginConfig); | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "@semantic-release/git", | ||
"description": "Set of semantic-release plugins to publish to a git repository", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"author": "Pierre Vanduynslager (https://github.com/pvdlg)", | ||
@@ -21,3 +21,3 @@ "bugs": { | ||
"aggregate-error": "^1.0.0", | ||
"debug": "^3.1.0", | ||
"debug": "^4.0.0", | ||
"dir-glob": "^2.0.0", | ||
@@ -44,3 +44,3 @@ "execa": "^1.0.0", | ||
"tempy": "^0.2.1", | ||
"xo": "^0.22.0" | ||
"xo": "^0.23.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "engines": { |
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
28068
- Removeddebug@3.2.7(transitive)
Updateddebug@^4.0.0