Skip to content

Commit

Permalink
fix: typo + run test when starting
Browse files Browse the repository at this point in the history
  • Loading branch information
srfrnk committed Mar 8, 2018
1 parent 6929bda commit 5f68b95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all:
test-run:
npm test


up:
up: test-run
docker-compose build && docker-compose up

down:
Expand Down
2 changes: 1 addition & 1 deletion server/controllers/MissionController.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { getVehicle, updateVehicleStatus } = require('../store/vehicles');

const command = async (req, res) => {
const { user_id, mission_id, command} = req.query;
if(mission_id==="undefined")
if(mission_id==='undefined')
{
res.sendStatus(404);
return;
Expand Down

0 comments on commit 5f68b95

Please sign in to comment.