From 8a74f8f88c4b52c08b3a688cf244060f93071854 Mon Sep 17 00:00:00 2001 From: cdemmigs Date: Thu, 28 Mar 2024 15:36:23 -0400 Subject: [PATCH] good, better, linted. #58 --- dist/gssql.js | 2 +- src/Views.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/gssql.js b/dist/gssql.js index 30fc688..a1e3699 100644 --- a/dist/gssql.js +++ b/dist/gssql.js @@ -2643,7 +2643,7 @@ class SelectTables { dayNum = Number(dateParts[1]); } - if (dateParts.length !==3 || (year == 0 && month == 0 && dayNum == 0)) { + if (dateParts.length !==3 || (year === 0 && month === 0 && dayNum === 0)) { return null; } } diff --git a/src/Views.js b/src/Views.js index ac1984c..3d4f504 100644 --- a/src/Views.js +++ b/src/Views.js @@ -872,7 +872,7 @@ class SelectTables { dayNum = Number(dateParts[1]); } - if (dateParts.length !==3 || (year == 0 && month == 0 && dayNum == 0)) { + if (dateParts.length !==3 || (year === 0 && month === 0 && dayNum === 0)) { return null; } }