Merge pull request #439 from ethereum/bugGist

Fix gist
pull/1/head
chriseth 8 years ago committed by GitHub
commit 61eab24a7f
  1. 6
      src/app.js

@ -50,9 +50,11 @@ var run = function () {
// return all the files, except the temporary/readonly ones
function packageFiles () {
return files.list()
var ret = {}
Object.keys(files.list())
.filter(function (path) { if (!files.isReadOnly(path)) { return path } })
.map(function (path) { return { content: files.get(path) } })
.map(function (path) { ret[path] = { content: files.get(path) } })
return ret
}
function createNonClashingName (path) {

Loading…
Cancel
Save