Comparing version 1.0.17 to 1.0.18
@@ -64,3 +64,3 @@ #!/usr/bin/env node | ||
if (reviewersPathStr) { | ||
if (!/^(\/ | \w:).+/i.test(reviewersPathStr)) { | ||
if (!/^(\/|\w:).+/i.test(reviewersPathStr)) { | ||
var prePath = projectPath; | ||
@@ -202,3 +202,2 @@ var fileStr = reviewersPathStr; | ||
console.log(err); | ||
console.log(1); | ||
return []; | ||
@@ -205,0 +204,0 @@ }) |
{ | ||
"name": "mtpr", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "美团使用提交pr命令行工具", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -66,3 +66,3 @@ /** | ||
if (reviewersPathStr) { | ||
if (!/^(\/ | \w:).+/i.test(reviewersPathStr)) { | ||
if (!/^(\/|\w:).+/i.test(reviewersPathStr)) { | ||
var prePath = Config.ProjectPath; | ||
@@ -69,0 +69,0 @@ var fileStr = reviewersPathStr; |
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
28862
642