From 6d74dc355de3e019e65ca9868ee4d5da98124b4b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 15 Jan 2016 09:12:09 +0200 Subject: [PATCH] Minor lint tweaks. --- tasks/copy.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/copy.js b/tasks/copy.js index 7740a50..c989de3 100644 --- a/tasks/copy.js +++ b/tasks/copy.js @@ -7,9 +7,9 @@ * https://github.com/gruntjs/grunt-contrib-copy/blob/master/LICENSE-MIT */ -module.exports = function(grunt) { - 'use strict'; +'use strict'; +module.exports = function(grunt) { var path = require('path'); var fs = require('fs'); var chalk = require('chalk'); @@ -23,20 +23,20 @@ module.exports = function(grunt) { processContent: false, processContentExclude: [], timestamp: false, - mode: false, + mode: false }); var copyOptions = { encoding: options.encoding, process: options.process || options.processContent, - noProcess: options.noProcess || options.processContentExclude, + noProcess: options.noProcess || options.processContentExclude }; var isExpandedPair; var dirs = {}; var tally = { dirs: 0, - files: 0, + files: 0 }; this.files.forEach(function(filePair) { @@ -47,7 +47,7 @@ module.exports = function(grunt) { var dest = unixifyPath(filePair.dest); if (detectDestType(dest) === 'directory') { - dest = (isExpandedPair) ? dest : path.join(dest, src); + dest = isExpandedPair ? dest : path.join(dest, src); } if (grunt.file.isDir(src)) {