Fix !== null checks

This commit is contained in:
Kyle Spearrin 2018-08-30 21:48:04 -04:00
parent 208c7f1996
commit c605f99ae2
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 5db115ae43018a34c87f00207498f2e768e4f9e5
Subproject commit 38c26d9649f613e4f8987e4e4727a0e90a21233b

View File

@ -20,7 +20,7 @@ export class CliUtils {
static readFile(input: string): Promise<string> {
return new Promise<string>((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);