|
|
@ -1062,7 +1062,6 @@ export default FileExplorer |
|
|
|
async function packageFiles (filesProvider, directory, callback) { |
|
|
|
async function packageFiles (filesProvider, directory, callback) { |
|
|
|
const isFile = await filesProvider.isFile(directory) |
|
|
|
const isFile = await filesProvider.isFile(directory) |
|
|
|
const ret = {} |
|
|
|
const ret = {} |
|
|
|
console.log(isFile) |
|
|
|
|
|
|
|
if (isFile) { |
|
|
|
if (isFile) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
filesProvider.get(directory, (error, content) => { |
|
|
|
filesProvider.get(directory, (error, content) => { |
|
|
|