From 8e1ced0a5b423beba9d78684e29a5dc45dbd206e Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 27 Sep 2021 18:29:16 +0200 Subject: [PATCH] cleanup --- apps/remix-ide/src/assets/js/init.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/apps/remix-ide/src/assets/js/init.js b/apps/remix-ide/src/assets/js/init.js index d7bdb27cda..3df41af79d 100644 --- a/apps/remix-ide/src/assets/js/init.js +++ b/apps/remix-ide/src/assets/js/init.js @@ -92,18 +92,6 @@ window.onload = () => { }, stat: async (path) => { return this.base.stat(this.addSlash(path)) - /* return new Promise((resolve, reject) => { - this.base.stat(this.addSlash(path)).then((stat) => { - resolve({ - isDirectory: () => { - return stat.type === 'dir' - }, - isFile: () => { - return stat.type === 'file' - } - }) - }).catch(() => reject(false)) - }) */ } } }