From c605f99ae2930d428021ec7a55442147e28ac86e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 30 Aug 2018 21:48:04 -0400 Subject: [PATCH] Fix !== null checks --- jslib | 2 +- src/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 5db115ae43..38c26d9649 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 5db115ae43018a34c87f00207498f2e768e4f9e5 +Subproject commit 38c26d9649f613e4f8987e4e4727a0e90a21233b diff --git a/src/utils.ts b/src/utils.ts index d58a7c3b17..e356f0eb03 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -20,7 +20,7 @@ export class CliUtils { static readFile(input: string): Promise { return new Promise((resolve, reject) => { let p: string = null; - if (input !== null && input !== '') { + if (input != null && input !== '') { const osInput = path.join(input); if (osInput.indexOf(path.sep) === -1) { p = path.join(process.cwd(), osInput);