src/utils.js
function () {
        let rootPath = process.cwd(),
            config;
        try {
            config = require(rootPath + '/bt-config');
        } catch (err) {
            console.warn("Project has no configuration file for bt command!");
        }

        return config;
    }
function () {
        let rootPath = process.cwd(),
            config;
        try {
            config = require(rootPath + '/bt-config');
        } catch (err) {
            console.warn("Project has no configuration file for bt command!");
        }

        return config;
    }
function ( ) { let rootPath = process . cwd ( ) , config ; try { config = require ( rootPath + '/bt-config' ) ; } catch ( err ) { console . warn ( "Project has no configuration file for bt command!" ) ; } return config ; }
Returns the build-tools configuration, whether its as a bt-config file or grunt file.
@returns {undefined|Object}
Returns the build - tools configuration whether its as a bt - config file or grunt file .