File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 2020 </httpCompression >
2121 <rewrite >
2222 <rules >
23+ <!-- Remove trailing slash redirect -->
24+ <rule name =" Remove Trailing Slash" stopProcessing =" true" >
25+ <match url =" (.*)/$" />
26+ <action type =" Redirect" url =" {R:1}" redirectType =" Permanent" />
27+ </rule >
2328 <rule name =" Angular Routes" stopProcessing =" true" >
2429 <match url =" .*" />
2530 <conditions logicalGrouping =" MatchAll" >
Original file line number Diff line number Diff line change 2020 </httpCompression >
2121 <rewrite >
2222 <rules >
23+ <!-- Remove trailing slash redirect -->
24+ <rule name =" Remove Trailing Slash" stopProcessing =" true" >
25+ <match url =" (.*)/$" />
26+ <action type =" Redirect" url =" {R:1}" redirectType =" Permanent" />
27+ </rule >
2328 <rule name =" Angular Routes" stopProcessing =" true" >
2429 <match url =" .*" />
2530 <conditions logicalGrouping =" MatchAll" >
You can’t perform that action at this time.
0 commit comments