reg-notify-github-with-api-plugin
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -60,7 +60,7 @@ "use strict"; | ||
if (this._ref) { | ||
if (!this._ref.startsWith("refs/heads")) { | ||
if (!this._ref.startsWith("refs/heads/")) { | ||
this._logger.warn(`ref option does not start with 'refs/heads': "${this._ref}"`); | ||
return; | ||
} | ||
branchName = this._ref.replace(/^refs\/heads/, ""); | ||
branchName = this._ref.replace(/^refs\/heads\//, ""); | ||
} | ||
@@ -67,0 +67,0 @@ else { |
{ | ||
"name": "reg-notify-github-with-api-plugin", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "Notify reg-suit result to GHE repository using API", | ||
@@ -38,3 +38,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "4eca699b9b64f18468e22bd736340e77040f7db4" | ||
"gitHead": "fc1abc735a9a9fd9309a46e5ef2a4da73c2c6004" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120033