Skip to content

Commit c87f23d

Browse files
authored
Merge pull request #3657 from IgniteUI/sstoychev/resolve-iis-301
fix(cd): improving the porcelain command
2 parents 4a5b5e8 + 25b7b24 commit c87f23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-devops/templates/cd-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ steps:
176176
inputs:
177177
script: |
178178
# Check for changes
179-
changeCount=$(git status --porcelain | wc -l)
179+
changeCount=$(git status --porcelain "../${{ parameters.submoduleDir }}" | wc -l)
180180
if [ "$changeCount" -eq 0 ]; then
181181
echo "##vso[task.logissue type=warning]No changes to commit."
182182
exit 0

0 commit comments

Comments
 (0)