File tree 1 file changed +1
-2
lines changed
src/PowerShellEditorServices/Services/PowerShellContext 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -284,8 +284,7 @@ public static PowerShellContextService Create(
284
284
285
285
// ImportPSModule throws System.Management.Automation.DriveNotFoundException: 'Cannot find drive. A drive with the name 'C' does not exist.'
286
286
// ImportPSModulesFromPath loads the module fine
287
- hostStartupInfo . InitialSessionState . ImportPSModulesFromPath ( s_commandsModulePath ) ; //C:\Users\dkattan\Source\Repos\immybot\core\backend\Immybot.Backend.Web\bin\Commands\PowerShellEditorServices.Commands.psd1
288
- hostStartupInfo . InitialSessionState . ImportPSModulesFromPath ( @"%UserProfile%\Source\Repos\immybot\core\backend\Immybot.Backend.Web\bin\Debug\net5.0\vendor\PSES\module\PSScriptAnalyzer" ) ;
287
+ hostStartupInfo . InitialSessionState . ImportPSModulesFromPath ( s_commandsModulePath ) ;
289
288
290
289
if ( ! hostStartupInfo . InitialSessionState . Commands . Any ( a => a . Name . ToLower ( ) == "tabexpansion2" ) )
291
290
{
You can’t perform that action at this time.
0 commit comments