pull/1622/head
filip mertens 3 years ago
parent bcf457cf60
commit 8e1ced0a5b
  1. 12
      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))
}) */
}
}
}

Loading…
Cancel
Save