We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a88b8 commit 93bf5ccCopy full SHA for 93bf5cc
src/client/interpreter/activation/service.ts
@@ -330,7 +330,10 @@ export class EnvironmentActivationService implements IEnvironmentActivationServi
330
if (result.stderr) {
331
if (returnedEnv) {
332
traceWarn('Got env variables but with errors', result.stderr, returnedEnv);
333
- if (result.stderr.includes('running scripts is disabled')) {
+ if (
334
+ result.stderr.includes('running scripts is disabled') ||
335
+ result.stderr.includes('FullyQualifiedErrorId : UnauthorizedAccess')
336
+ ) {
337
throw new Error(
338
`Skipping returned result when powershell execution is disabled, stderr ${result.stderr} for ${command}`,
339
);
0 commit comments