From 47dd0e347161709ffa4661de0ced2881d383d305 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 10 Mar 2016 03:01:06 +0000 Subject: [PATCH] Increase beautificatedness of language in `grunt precommit` unit test messages. Comma splices are bad, we should remove them from the codebase. See #35557. git-svn-id: https://develop.svn.wordpress.org/trunk@36924 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 001df84499..26cc3238cf 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -685,15 +685,15 @@ module.exports = function(grunt) { function enqueueTestingTasksForModifiedFiles( filesModified ) { var taskList = ['precommit:core']; if ( /.*\.js/.test( filesModified ) ) { - grunt.log.write( 'JavaScript source files modified, will run JavaScript tests.\n'); + grunt.log.write( 'JavaScript source files modified. JavaScript tests will be run.\n'); taskList = taskList.concat( ['precommit:js'] ); } if ( /src.*\.css/.test( filesModified ) ) { - grunt.log.write( 'CSS source files modified, will run CSS tests.\n'); + grunt.log.write( 'CSS source files modified. CSS tests will be run.\n'); taskList = taskList.concat( ['postcss:core'] ); } if ( /.*\.php/.test( filesModified ) ) { - grunt.log.write( 'PHP source files modified, will run PHP tests.\n'); + grunt.log.write( 'PHP source files modified. PHP tests will be run.\n'); taskList = taskList.concat( ['precommit:php'] ); } grunt.task.run( taskList ); @@ -727,7 +727,7 @@ module.exports = function(grunt) { } ); } else { - grunt.log.write( 'This WordPress install is not under version control, no tests will be run.' ); + grunt.log.write( 'This WordPress install is not under version control. No tests will be run.' ); } }); });