From 729965aae279168945f3b9150982f8f99ce3c8af Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 11 Oct 2018 16:46:04 -0400 Subject: [PATCH] should be != null check --- src/commands/import.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/import.command.ts b/src/commands/import.command.ts index f94c196210..f1d5818cd9 100644 --- a/src/commands/import.command.ts +++ b/src/commands/import.command.ts @@ -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);