Commit b6f2a042 authored by yann300's avatar yann300

add the entire project to gist

parent b9ec8f4f
...@@ -1077,7 +1077,13 @@ function packageFiles (filesProvider, directory, callback) { ...@@ -1077,7 +1077,13 @@ function packageFiles (filesProvider, directory, callback) {
cb() 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) callback(error, ret)
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment