-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporated the extract method command #18518 #18514
Changes from 110 commits
9d03ae1
3255366
49fbea1
29881a4
f8934ca
d38dc6a
d1bd21e
d6e9b61
7ef27f4
5c0becb
9c272b9
a681dff
b5d568b
4691570
0c66d8a
cd8ea46
1ab0a6f
9319df6
c5d6b8f
25760af
ab885a6
73480dc
edd0633
23ae764
d56718f
41c00a9
0c840aa
99fdbbd
372366a
9cf072a
8fabd34
cadde34
b0689e4
a75bc2e
db04879
f1fc014
e2834c0
b1d8354
f2de95c
ba36dc8
bb99fad
f327907
3bed574
53675ce
d37e387
7746bd8
9da5abf
9e8f5b9
a076223
241722e
3dd72cb
7ce4430
a12c1e2
f55d416
b49bc21
e2ca224
9d1eeac
b2ca7f7
0f60148
cfb8063
2d1c671
50bee74
628a3d7
8cbeeab
f3fe60c
daad0b0
9985015
d5de719
7919fc9
fe743f5
ee7d2f5
e5c3d0d
d83376f
f7b42ec
b2f0f77
57ae3fc
6ccefe3
b4e622c
bb4a9fc
eb717fe
8084af6
26e4da7
061ee5a
7bceea4
129eea9
1f60a71
428e058
be15659
edc87c4
3753ad1
b1cf749
e9b1b2c
9ae1827
f0da98b
0e3c0c8
a65c171
656e79d
3b6fe0a
b2964d2
2adf0e4
ba3429c
ceda41f
8231e1b
76e03ba
b2a0e3e
e4e59fc
f45c594
402bb61
660b159
d1d320c
b7d6fc4
7142a3c
f4914e3
133c9d2
e3d8cfd
233392a
0e413c3
ea65844
6d4c637
2a3e749
b722e32
66a7793
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Not use --live-stream with conda run (Thanks [Harry-Hopkinson](https://github.com/Harry-Hopkinson)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,7 +161,6 @@ export class DebugAdapterDescriptorFactory implements IDebugAdapterDescriptorFac | |
'-n', | ||
interpreter.envName, | ||
'--no-capture-output', | ||
'--live-stream', | ||
'python', | ||
]; | ||
} else if (interpreter.envPath) { | ||
|
@@ -171,7 +170,6 @@ export class DebugAdapterDescriptorFactory implements IDebugAdapterDescriptorFac | |
'-p', | ||
interpreter.envPath, | ||
'--no-capture-output', | ||
'--live-stream', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed --live-stream where applicable if --no-capture-ouput was the former between the two. |
||
'python', | ||
]; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -416,7 +416,7 @@ export class Conda { | |
} else { | ||
args.push('-p', env.prefix); | ||
} | ||
return [this.command, 'run', ...args, '--no-capture-output', '--live-stream', 'python', OUTPUT_MARKER_SCRIPT]; | ||
return [this.command, 'run', ...args, '--no-capture-output', 'python', OUTPUT_MARKER_SCRIPT]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed --live-stream where applicable if --no-capture-ouput was the former between the two. |
||
} | ||
|
||
/** | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -481,14 +481,14 @@ suite('Conda and its environments are located correctly', () => { | |
expect(args).to.not.equal(undefined); | ||
assert.deepStrictEqual( | ||
args, | ||
['conda', 'run', '-n', 'envName', '--no-capture-output', '--live-stream', 'python', OUTPUT_MARKER_SCRIPT], | ||
['conda', 'run', '-n', 'envName', '--no-capture-output', 'python', OUTPUT_MARKER_SCRIPT], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed --live-stream where applicable if --no-capture-ouput was the former between the two. |
||
'Incorrect args for case 1', | ||
); | ||
|
||
args = await conda?.getRunPythonArgs({ name: '', prefix: 'envPrefix' }); | ||
assert.deepStrictEqual( | ||
args, | ||
['conda', 'run', '-p', 'envPrefix', '--no-capture-output', '--live-stream', 'python', OUTPUT_MARKER_SCRIPT], | ||
['conda', 'run', '-p', 'envPrefix', '--no-capture-output', 'python', OUTPUT_MARKER_SCRIPT], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed --live-stream where applicable if --no-capture-ouput was the former between the two. |
||
'Incorrect args for case 2', | ||
); | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed --live-stream where applicable if --no-capture-ouput was the former between the two.