Skip to content

Commit 8c88cc1

Browse files
committed
Add SOCKET_CLI_DEBUG to env
1 parent 28ed17a commit 8c88cc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

registry/lib/constants/env.js

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ module.exports = Object.freeze({
2020
// PRE_COMMIT is set to '1' by our 'test-pre-commit' script run by the
2121
// .husky/pre-commit hook.
2222
PRE_COMMIT: envAsBoolean(env.PRE_COMMIT),
23+
// Flag set to help debug Socket CLI.
24+
// eslint-disable-next-line no-warning-comments
25+
// TODO: Make the environment variable name configurable.
26+
SOCKET_CLI_DEBUG: envAsBoolean(env.SOCKET_CLI_DEBUG),
2327
// TAP=1 is set by the tap-run test runner.
2428
// https://node-tap.org/environment/#environment-variables-used-by-tap
2529
TAP: envAsBoolean(env.TAP),

0 commit comments

Comments
 (0)