Commit f0a9170a authored by yann300's avatar yann300

add comments

parent bd75dea5
......@@ -470,6 +470,7 @@ fileExplorer.prototype.toGist = function (id) {
return data.files || []
}
// If 'id' is not defined, it is not a gist update but a creation so we have to take the files from the browser explorer.
const folder = id ? 'browser/gists/' + id : 'browser/'
this.packageFiles(this.files, folder, (error, packaged) => {
if (error) {
......
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