add the entire project to gist

pull/5370/head
yann300 4 years ago
parent 6b3921caff
commit 17c3925153
  1. 8
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -1077,7 +1077,13 @@ function packageFiles (filesProvider, directory, callback) {
cb()
})
}
}, (error) => {
}, async (error) => {
try {
const json = await filesProvider.copyFolderToJson(directory)
ret['project.json'] = { content: JSON.stringify(json, null, '\t') }
} catch (e) {
console.log(e)
}
callback(error, ret)
})
}

Loading…
Cancel
Save