stylelint-bundle-worker.js
function stat(path, opts) {
    return new Promise((resolve, reject) => {
        statProvider.async(path, optionsManager.prepare(opts), (err, stats) => err ? reject(err) : resolve(stats));
    });
}
function stat(path, opts) {
    return new Promise((resolve, reject) => {
        statProvider.async(path, optionsManager.prepare(opts), (err, stats) => err ? reject(err) : resolve(stats));
    });
}
function stat ( path , opts ) { return new Promise ( ( resolve , reject ) => { statProvider . async ( path , optionsManager . prepare ( opts ) , ( err , stats ) => err ? reject ( err ) : resolve ( stats ) ) ; } ) ; }
Asynchronous API.
Asynchronous API .