tasks/gae.js
function readAuth (path) {
        var auth;
        if (grunt.file.exists(path)) {
            auth = grunt.file.read(path).trim().split(/\s/);
            if (auth.length === 2 && auth[0].indexOf('@') !== -1) {
                return {email: auth[0], password: auth[1]};
            }
        }
        return null;
    }
function readAuth (path) {
        var auth;
        if (grunt.file.exists(path)) {
            auth = grunt.file.read(path).trim().split(/\s/);
            if (auth.length === 2 && auth[0].indexOf('@') !== -1) {
                return {email: auth[0], password: auth[1]};
            }
        }
        return null;
    }
function readAuth ( path ) { var auth ; if ( grunt . file . exists ( path ) ) { auth = grunt . file . read ( path ) . trim ( ) . split ( / \s / ) ; if ( auth . length === 2 && auth [ 0 ] . indexOf ( '@' ) !== - 1 ) { return { email : auth [ 0 ] , password : auth [ 1 ] } ; } } return null ; }
Reads authentication file.
@param path
@returns {null}
Reads authentication file .