From 19954de849243c36425a11b779d1ee70e14ab424 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