Skip to content

Commit bd871ef

Browse files
committed
Handle Travis failure on ubuntu
1 parent 0d047d6 commit bd871ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public async Task BuildIncremental_SimpleMvc_PersistsTargetInputFile()
3535
Path.Combine(directoryPath, "SimpleMvc.csproj.FileListAbsolute.txt"),
3636
};
3737

38-
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
38+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
3939
{
40-
// There is some quirkiness with MsBuild in osx high sierra where it regenerates this file
40+
// There is some quirkiness with MsBuild in unix where it regenerates this file
4141
// even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219.
4242
filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache"));
4343
}

0 commit comments

Comments
 (0)