File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ private void CreateLaunchConfiguration(string currentWorkingDirectory)
169
169
if ( template != launchFileContent )
170
170
{
171
171
File . WriteAllText ( pathToLaunchFile , template ) ;
172
- _scriptConsole . WriteHighlighted ( "...Use global tool [Updated]" ) ;
172
+ _scriptConsole . WriteHighlighted ( "...Use global tool launch config [Updated]" ) ;
173
173
}
174
174
}
175
175
else
Original file line number Diff line number Diff line change @@ -216,9 +216,7 @@ private static Scaffolder CreateTestScaffolder(string installLocation)
216
216
var scriptEnvironment = ( ScriptEnvironment ) Activator . CreateInstance ( typeof ( ScriptEnvironment ) , nonPublic : true ) ;
217
217
var installLocationField = typeof ( ScriptEnvironment ) . GetField ( "_installLocation" , BindingFlags . NonPublic | BindingFlags . Instance ) ;
218
218
installLocationField . SetValue ( scriptEnvironment , new Lazy < string > ( ( ) => installLocation ) ) ;
219
- StringWriter output = new StringWriter ( ) ;
220
- StringWriter error = new StringWriter ( ) ;
221
- var scriptConsole = new ScriptConsole ( output , StringReader . Null , error ) ;
219
+ var scriptConsole = new ScriptConsole ( StringWriter . Null , StringReader . Null , StreamWriter . Null ) ;
222
220
var scaffolder = new Scaffolder ( TestOutputHelper . CreateTestLogFactory ( ) , scriptConsole , scriptEnvironment ) ;
223
221
return scaffolder ;
224
222
}
You can’t perform that action at this time.
0 commit comments