File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Task("Test")
60
60
61
61
if ( ! parameters . IsRunningOnMacOS ) {
62
62
settings . TestAdapterPath = new DirectoryPath ( "." ) ;
63
- var resultsPath = MakeAbsolute ( new FilePath ( $ "{ testResultsPath } / { projectName } .results.xml") ) ;
63
+ var resultsPath = MakeAbsolute ( testResultsPath . CombineWithFilePath ( $ "{ projectName } .results.xml") ) ;
64
64
settings . Logger = $ "nunit;LogFilePath={ resultsPath } ";
65
65
}
66
66
@@ -91,7 +91,7 @@ Task("Test")
91
91
92
92
var workDir = "./src/GitVersionVsixTask" ;
93
93
var npmSettings = new NpmRunScriptSettings { WorkingDirectory = workDir , LogLevel = NpmLogLevel . Silent , ScriptName = "test" } ;
94
- var vsixResultsPath = MakeAbsolute ( new FilePath ( $ " { testResultsPath } / vsix.results.xml") ) ;
94
+ var vsixResultsPath = MakeAbsolute ( testResultsPath . CombineWithFilePath ( " vsix.results.xml") ) ;
95
95
npmSettings . Arguments . Add ( $ "--reporter-options mochaFile={ vsixResultsPath } ") ;
96
96
NpmRunScript ( npmSettings ) ;
97
97
} )
You can’t perform that action at this time.
0 commit comments