Skip to content

Commit da88380

Browse files
Rel1cxCopilot
andauthored
Update packages/utilities/kit/src/ast/env-checks.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: REL1CX <[email protected]>
1 parent 71d48a0 commit da88380

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/utilities/kit/src/ast/env-checks.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ export function isProcessEnvNodeEnv(node: TSESTree.Node | null | unit): node is
2020
}
2121

2222
/**
23-
* expression that compares `process.env.NODE_ENV` with a string literal
23+
* Check if the given node is a binary expression that compares `process.env.NODE_ENV` with a string literal.
2424
* @param node The AST node
25-
* Check if the given node is a binary
2625
* @param operator The operator used in the comparison
2726
* @param value The string literal value to compare against
2827
* @returns True if the node is a binary expression that compares `process.env.NODE_ENV` with the specified value, false otherwise

0 commit comments

Comments
 (0)