tasks/json_bake.js
function checkFile( path ) {
            if ( typeof path === "undefined" || ! grunt.file.exists( path ) ) {
                grunt.log.error( "Source file \"" + path + "\" not found." );
                return false;
            }

            return true;
        }
function checkFile( path ) {
            if ( typeof path === "undefined" || ! grunt.file.exists( path ) ) {
                grunt.log.error( "Source file \"" + path + "\" not found." );
                return false;
            }

            return true;
        }
function checkFile ( path ) { if ( typeof path === "undefined" || ! grunt . file . exists ( path ) ) { grunt . log . error ( "Source file \"" + path + "\" not found." ) ; return false ; } return true ; }
Returns true if source points to a file
Returns true if source points to a file