Skip to content

Commit 5f70d8f

Browse files
committed
Env comment nits
1 parent 4be59eb commit 5f70d8f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

registry/lib/constants/env.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ module.exports = ObjectFreeze({
1515
// Libraries like yocto-colors check for CI not by value but my existence,
1616
// e.g. `'CI' in process.env`.
1717
CI: ObjectHasOwn(env, 'CI'),
18-
// Variable to enable debug logging based on the 'debug' package.
18+
// Enable debug logging based on the 'debug' package.
1919
// https://socket.dev/npm/package/debug/overview/4.4.1
2020
DEBUG,
21-
// Variable to set the debug log level
22-
// (notice, error, warn, info, verbose, http, silly).
21+
// Set the debug log level (notice, error, warn, info, verbose, http, silly).
2322
LOG_LEVEL: envAsString(env.LOG_LEVEL),
2423
// .github/workflows/provenance.yml defines this.
2524
// https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages
@@ -38,7 +37,7 @@ module.exports = ObjectFreeze({
3837
// PRE_COMMIT is set to '1' by our 'test-pre-commit' script run by the
3938
// .husky/pre-commit hook.
4039
PRE_COMMIT: envAsBoolean(env.PRE_COMMIT),
41-
// Variable to enable debug logging in Socket CLI.
40+
// Enable debug logging in Socket CLI.
4241
SOCKET_CLI_DEBUG: !!DEBUG || envAsBoolean(env.SOCKET_CLI_DEBUG),
4342
// TAP=1 is set by the tap-run test runner.
4443
// https://node-tap.org/environment/#environment-variables-used-by-tap

0 commit comments

Comments
 (0)