File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ foreach ($File in $FilesChangedList)
52
52
}
53
53
54
54
# If a file in src/Common is updated, check for change log entry in Profile
55
- if ($File.StartsWith (" src/Common" ) -and ($UpdatedServicePaths | where { $_ -like " *Profile*" } | Measure-Object ).Count -gt 0 )
55
+ if (( $File.StartsWith (" src/Common" ) -or $File .StartsWith ( " src/ResourceManager/Common " ) ) -and ($UpdatedServicePaths | where { $_ -like " *Profile*" } | Measure-Object ).Count -gt 0 )
56
56
{
57
57
continue
58
58
}
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ private static void ConsolidateExceptionFiles(string exceptionsDirectory)
147
147
var exceptionFilePath = Path . Combine ( exceptionsDirectory , exceptionFileName ) ;
148
148
if ( File . Exists ( exceptionFilePath ) )
149
149
{
150
- throw new IOException ( string . Format ( "The file '{0}' already exists." , exceptionFilePath ) ) ;
150
+ File . Delete ( exceptionFilePath ) ;
151
151
}
152
152
153
153
File . Create ( exceptionFilePath ) . Close ( ) ;
You can’t perform that action at this time.
0 commit comments