From e376e0edbbdf96c06769461b1cba1a11bcff902f Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 13 Sep 2021 17:44:53 +0200 Subject: [PATCH] rm unneeded line to check empty path in resolve --- apps/remix-ide/src/app/files/fileProvider.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/remix-ide/src/app/files/fileProvider.js b/apps/remix-ide/src/app/files/fileProvider.js index 04d055a649..ea46dd8b72 100644 --- a/apps/remix-ide/src/app/files/fileProvider.js +++ b/apps/remix-ide/src/app/files/fileProvider.js @@ -276,7 +276,6 @@ class FileProvider { } resolveDirectory (path, callback) { - if (!path) return callback(null, { [this.type]: {} }) path = this.removePrefix(path) if (path.indexOf('/') !== 0) path = '/' + path