artifact-engine
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -74,3 +74,17 @@ "use strict"; | ||
if (item.itemType === models.ItemType.File) { | ||
if (tl.match([item.path], this.patternList).length > 0) { | ||
var pathToMatch = item.path.replace(/\\/g, '/'); | ||
var matchOptions = { | ||
debug: false, | ||
nobrace: true, | ||
noglobstar: false, | ||
dot: true, | ||
noext: false, | ||
nocase: false, | ||
nonull: false, | ||
matchBase: false, | ||
nocomment: false, | ||
nonegate: false, | ||
flipNegate: false | ||
}; | ||
if (tl.match([pathToMatch], this.patternList, null, matchOptions).length > 0) { | ||
logger_1.Logger.logInfo("Processing " + item.path); | ||
@@ -91,3 +105,3 @@ sourceProvider.getArtifactItem(item).then((contentStream) => { | ||
else { | ||
logger_1.Logger.logMessage(tl.loc("SkippingItem", item.path)); | ||
logger_1.Logger.logMessage(tl.loc("SkippingItem", pathToMatch)); | ||
this.artifactItemStore.updateState(item, models.TicketState.Skipped); | ||
@@ -94,0 +108,0 @@ resolve(); |
{ | ||
"name": "artifact-engine", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "Artifact Engine to download artifacts from jenkins, teamcity, vsts", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
158750
2226