1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-11 16:55:56 +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);
if (err == null) {
if (err != null) {
return Response.badRequest(err.message);
}
const res = new MessageResponse('Imported ' + filepath, null);