Skip to content

Commit

Permalink
Gruntfile: Remove isTruthy.
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 committed Aug 20, 2024
1 parent 4a9feba commit 9287c24
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ module.exports = function( grunt ) {
invert: true,
} );

/**
* Check if CLI input appears to indicate a truthy value.
*
* @param {string} input Value to check.
* @return {boolean} If value appears to be truthy.
*/
function isTruthy( input ) {
return ( '1' === input || 'true' === input );
}

grunt.initConfig( {
pkg: grunt.file.readJSON( 'package.json' ),

Expand Down

0 comments on commit 9287c24

Please sign in to comment.