Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

simplify

  • Loading branch information...
commit 7f4abec8afb4f8afa08e213e9b08e3e85902805c 1 parent 99cde25
@ddollar ddollar authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  server/web.coffee
View
3  server/web.coffee
@@ -45,11 +45,10 @@ app.post "/make", (req, res, next) ->
res.write "Building with: #{command}\n"
log.info "spawning build"
- env =
+ make = spawner.spawn "bin/make \"#{id}\"", env:
CLOUDANT_URL: process.env.CLOUDANT_URL
PATH: process.env.PATH
- make = spawner.spawn "bin/make \"#{id}\"", env:env
make.on "error", (err) -> log.error(err)
make.on "data", (data) -> res.write data
make.on "exit", (code) -> res.end())
Please sign in to comment.
Something went wrong with that request. Please try again.