From 6d7ca9a58a96d5d9e82f1408db56c9794ca903c1 Mon Sep 17 00:00:00 2001 From: Rowan Manning Date: Mon, 11 Nov 2013 10:53:00 +0000 Subject: [PATCH] Fix non-front-end lint errors Part of #54 --- Gruntfile.js | 7 ++++++- route/result/download.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8032c45..77fd853 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,7 +3,12 @@ module.exports = function (grunt) { grunt.initConfig({ jshint: { - all: ['**/*.js', '!node_modules/**/*.js', '!public/js/vendor/**/*.js', '!public/js/site.min.js'], + all: [ + '**/*.js', + '!node_modules/**/*.js', + '!public/js/vendor/**/*.js', + '!public/js/site.min.js' + ], options: { es3: false, indent: 4, diff --git a/route/result/download.js b/route/result/download.js index 739029a..b3dd524 100644 --- a/route/result/download.js +++ b/route/result/download.js @@ -40,7 +40,7 @@ function route (app) { moment(result.date).format('YYYY-MM-DD'), '.', extension - ].join('') + ].join(''); } app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {