1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

should be != null check

This commit is contained in:
Kyle Spearrin 2018-10-11 16:46:04 -04:00
parent bd381073b0
commit 729965aae2

View File

@ -37,7 +37,7 @@ export class ImportCommand {
} }
const err = await this.importService.import(importer, contents, null); const err = await this.importService.import(importer, contents, null);
if (err == null) { if (err != null) {
return Response.badRequest(err.message); return Response.badRequest(err.message);
} }
const res = new MessageResponse('Imported ' + filepath, null); const res = new MessageResponse('Imported ' + filepath, null);