You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"submit",`${filePath}`]);
206
+
}
198
207
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"submit",`"${filePath}"`]);
199
208
}catch(error){
200
209
if(error.result){
@@ -206,11 +215,20 @@ class LeetCodeExecutor implements Disposable {
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`${filePath}`,"-t",`${testString}`]);
220
+
}
209
221
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`"${filePath}"`,"-t",`${testString}`]);
210
222
}
211
223
if(allCase){
224
+
if(wsl.useVscodeNode()){
225
+
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`${filePath}`,"-a"]);
226
+
}
212
227
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`"${filePath}"`,"-a"]);
213
228
}
229
+
if(wsl.useVscodeNode()){
230
+
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`${filePath}`]);
231
+
}
214
232
returnawaitthis.executeCommandWithProgressEx("Submitting to LeetCode...",this.nodeExecutable,[awaitthis.getLeetCodeBinaryPath(),"test",`"${filePath}"`]);
215
233
}
216
234
@@ -252,6 +270,9 @@ class LeetCodeExecutor implements Disposable {
0 commit comments