Skip to content

Commit 0fbcc95

Browse files
committed
turns off debugging, also uses RUNNER_DEBUG
1 parent 6a38073 commit 0fbcc95

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/eslint-plugin-turbo/lib/rules/no-undeclared-env-vars.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import { frameworks } from "@turbo/types";
77
import { RULES } from "../constants";
88
import { Project, getWorkspaceFromFilePath } from "../utils/calculate-inputs";
99

10-
/** set this to true if debugging this rule */
11-
const debugging = "".length === 0;
12-
const debug = debugging
10+
const debug = process.env.RUNNER_DEBUG
1311
? logger.info
1412
: (_: string) => {
1513
/* noop */

0 commit comments

Comments
 (0)