Skip to content

Commit

Permalink
Merge pull request #1907 from jadejs/stop
Browse files Browse the repository at this point in the history
docs/stop: Remove file query hack
  • Loading branch information
hemanth committed Mar 27, 2015
2 parents 75183f8 + 6603972 commit 6f767c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/stop.js
Expand Up @@ -19,9 +19,7 @@ module.exports = stop.getWebsiteStream('http://localhost:3000', {
parallel: 1
})
.on('data', function (page) {
if (page.url === 'http://localhost:3000/style/files/1/glyphicons-halflings-regular.eot?' && page.statusCode === 404) {
//todo: fix this
} else if (page.statusCode !== 200) {
if (page.statusCode !== 200) {
throw new Error('Unexpected status code ' + page.statusCode +
' for ' + page.url);
}
Expand Down

0 comments on commit 6f767c2

Please sign in to comment.