mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Fix !== null checks
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 5db115ae43...38c26d9649
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user