Skip to content

Commit

Permalink
uses not instead of ! in conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
sleekslush committed Oct 28, 2011
1 parent 8d5dab0 commit ad1b70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/directions.coffee
Expand Up @@ -6,7 +6,7 @@ parse_directions = (body) ->
directions = JSON.parse body
first_route = directions.routes[0]

if !first_route
if not first_route
return "Sorry, boss. Couldn't find directions"

final_directions = []
Expand Down

0 comments on commit ad1b70c

Please sign in to comment.