Skip to content

Conversation

@JakeKerber
Copy link
Contributor

I was using this step template and got an error in one of my environments because it didn't match any of the files to be deleted.
Changed from:
if ($deleteSet.Count -eq 0) {
to:
if (!$deleteSet -or $deleteSet.Count -eq 0) {

@hnrkndrssn hnrkndrssn added this to the vNext milestone May 25, 2015
hnrkndrssn added a commit that referenced this pull request May 26, 2015
Prevent null Path error if no matching files found
@hnrkndrssn hnrkndrssn merged commit 9652e7f into OctopusDeploy:master May 26, 2015
@hnrkndrssn hnrkndrssn modified the milestone: vNext Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants