Skip to content

Commit 7d78fcd

Browse files
committed
chore: revert file to match develop branch
1 parent 821b792 commit 7d78fcd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/core/src/parsing.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ export const booleanFooter = `Respond with only a YES or a NO.`;
4444
* @returns {boolean|null} - Returns `true` for affirmative inputs, `false` for negative inputs, and `null` for unrecognized inputs or null/undefined.
4545
*/
4646
export const parseBooleanFromText = (text: string) => {
47-
// "NULL", "UNDEFINED"
4847
if (!text) return null; // Handle null or undefined input
4948

50-
const affirmative = ["YES", "Y", "TRUE", "T", "1", "ON", "ENABLE"];
51-
const negative = ["NO", "N", "FALSE", "F", "0", "OFF", "DISABLE"];
49+
const affirmative = ["YES", "Y", "TRUE", "T", "1", "ON", "ENABLE"];
50+
const negative = ["NO", "N", "FALSE", "F", "0", "OFF", "DISABLE"];
5251

5352
const normalizedText = text.trim().toUpperCase();
5453

0 commit comments

Comments
 (0)