Skip to content

Commit 3ff84f3

Browse files
committed
Don't check for CI
1 parent 25067b3 commit 3ff84f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/debugger/lldb.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import * as vscode from "vscode";
1919
import * as path from "path";
2020
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";
2222
import { Result } from "../utilities/result";
2323
import { SwiftToolchain } from "../toolchain/toolchain";
2424

@@ -30,8 +30,7 @@ import { SwiftToolchain } from "../toolchain/toolchain";
3030
export function updateLaunchConfigForCI(
3131
config: vscode.DebugConfiguration
3232
): 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) {
3534
return config;
3635
}
3736

src/utilities/utilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const IS_PRODUCTION_BUILD = process.env.NODE_ENV === "production";
3333
*
3434
* Code that checks for this will be removed completely when the extension is packaged into
3535
* a VSIX.
36+
* @deprecated
3637
*/
3738
export const IS_RUNNING_IN_CI = process.env.CI === "1";
3839

0 commit comments

Comments
 (0)