1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

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

Submodule jslib updated: 5db115ae43...38c26d9649

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);