Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix and close issue #13

  • Loading branch information...
commit 12aba3e3adbd92c008fd52fb43d3ced504dd01fd 1 parent 4a021f4
@clowwindy clowwindy authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/test.coffee
  2. +2 −2 test.js
View
4 src/test.coffee 100755 → 100644
@@ -56,14 +56,14 @@ server.stderr.on 'data', (data) ->
local.stdout.on 'data', (data) ->
console.log data.toString()
- if data.toString().indexOf 'listening at port' >= 0
+ if data.toString().indexOf('listening at port') >= 0
localReady = true
if localReady and serverReady and not curlRunning
runCurl()
server.stdout.on 'data', (data) ->
console.log data.toString()
- if data.toString().indexOf 'listening at port' >= 0
+ if data.toString().indexOf('listening at port') >= 0
serverReady = true
if localReady and serverReady and not curlRunning
runCurl()
View
4 test.js
@@ -71,7 +71,7 @@
local.stdout.on('data', function(data) {
console.log(data.toString());
- if (data.toString().indexOf('listening at port' >= 0)) {
+ if (data.toString().indexOf('listening at port') >= 0) {
localReady = true;
if (localReady && serverReady && !curlRunning) {
return runCurl();
@@ -81,7 +81,7 @@
server.stdout.on('data', function(data) {
console.log(data.toString());
- if (data.toString().indexOf('listening at port' >= 0)) {
+ if (data.toString().indexOf('listening at port') >= 0) {
serverReady = true;
if (localReady && serverReady && !curlRunning) {
return runCurl();
Please sign in to comment.
Something went wrong with that request. Please try again.