bin/pretty.js
function getSourceFilesFromGlob(globPattern, ignoreGlobs) {
    return new Promise((fulfil, reject) => {
        glob(globPattern, { ignore: ignoreGlobs }, (err, files) => {
            if (err) {
                reject(err);
            } else {
                fulfil(files);
            }
        });
    });
}
function getSourceFilesFromGlob(globPattern, ignoreGlobs) {
    return new Promise((fulfil, reject) => {
        glob(globPattern, { ignore: ignoreGlobs }, (err, files) => {
            if (err) {
                reject(err);
            } else {
                fulfil(files);
            }
        });
    });
}
function getSourceFilesFromGlob ( globPattern , ignoreGlobs ) { return new Promise ( ( fulfil , reject ) => { glob ( globPattern , { ignore : ignoreGlobs } , ( err , files ) => { if ( err ) { reject ( err ) ; } else { fulfil ( files ) ; } } ) ; } ) ; }
Calls out to glob, but returns a promise
Calls out to glob but returns a promise