Commit 48918507 authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #435 from ethereum/fixBallot

fix loading ballot contract
parents 76c46ac1 4546ca31
...@@ -106,7 +106,7 @@ var run = function () { ...@@ -106,7 +106,7 @@ var run = function () {
}) })
// insert ballot contract if there are no files available // insert ballot contract if there are no files available
if (!loadingFromGist && (files.list().length === 0)) { if (!loadingFromGist && Object.keys(files.list()).length === 0) {
files.set(examples.ballot.name, examples.ballot.content) files.set(examples.ballot.name, examples.ballot.content)
} }
......
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