Make WordPress Core

Changeset 36924


Ignore:
Timestamp:
03/10/2016 03:01:06 AM (11 years ago)
Author:
boonebgorges
Message:

Increase beautificatedness of language in grunt precommit unit test messages.

Comma splices are bad, we should remove them from the codebase.

See #35557.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r36906 r36924  
    686686                        var taskList = ['precommit:core'];
    687687                        if ( /.*\.js/.test( filesModified ) ) {
    688                                 grunt.log.write( 'JavaScript source files modified, will run JavaScript tests.\n');
     688                                grunt.log.write( 'JavaScript source files modified. JavaScript tests will be run.\n');
    689689                                taskList = taskList.concat( ['precommit:js'] );
    690690                        }
    691691                        if ( /src.*\.css/.test( filesModified ) ) {
    692                                 grunt.log.write( 'CSS source files modified, will run CSS tests.\n');
     692                                grunt.log.write( 'CSS source files modified. CSS tests will be run.\n');
    693693                                taskList = taskList.concat( ['postcss:core'] );
    694694                        }
    695695                        if ( /.*\.php/.test( filesModified ) ) {
    696                                 grunt.log.write( 'PHP source files modified, will run PHP tests.\n');
     696                                grunt.log.write( 'PHP source files modified. PHP tests will be run.\n');
    697697                                taskList = taskList.concat( ['precommit:php'] );
    698698                        }
     
    728728                                );
    729729                        } else {
    730                                 grunt.log.write( 'This WordPress install is not under version control, no tests will be run.' );
     730                                grunt.log.write( 'This WordPress install is not under version control. No tests will be run.' );
    731731                        }
    732732                });
Note: See TracChangeset for help on using the changeset viewer.