File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
import * as vscode from "vscode" ;
19
19
import * as path from "path" ;
20
20
import * as fs from "fs/promises" ;
21
- import { execFile , IS_RUNNING_IN_CI } from "../utilities/utilities" ;
21
+ import { execFile , IS_RUNNING_UNDER_TEST } from "../utilities/utilities" ;
22
22
import { Result } from "../utilities/result" ;
23
23
import { SwiftToolchain } from "../toolchain/toolchain" ;
24
24
@@ -30,8 +30,7 @@ import { SwiftToolchain } from "../toolchain/toolchain";
30
30
export function updateLaunchConfigForCI (
31
31
config : vscode . DebugConfiguration
32
32
) : vscode . DebugConfiguration {
33
- console . log ( `IS_RUNNING_IN_CI=${ IS_RUNNING_IN_CI } ` ) ;
34
- if ( ! IS_RUNNING_IN_CI ) {
33
+ if ( ! IS_RUNNING_UNDER_TEST ) {
35
34
return config ;
36
35
}
37
36
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export const IS_PRODUCTION_BUILD = process.env.NODE_ENV === "production";
33
33
*
34
34
* Code that checks for this will be removed completely when the extension is packaged into
35
35
* a VSIX.
36
+ * @deprecated
36
37
*/
37
38
export const IS_RUNNING_IN_CI = process . env . CI === "1" ;
38
39
You can’t perform that action at this time.
0 commit comments