src/config.js
function _validateConfig(config) {
    for (var i = 0; i < REQUIRED_CONFIG_VARIABLES.length; i++) {
        var key = REQUIRED_CONFIG_VARIABLES[i];
        var value = config.DubBotBase[key];
        if (!value || value === "UNSET") {
            throw new Error("No value has been set in config for key: DubBotBase." + key);
        }
    }
}
function _validateConfig(config) {
    for (var i = 0; i < REQUIRED_CONFIG_VARIABLES.length; i++) {
        var key = REQUIRED_CONFIG_VARIABLES[i];
        var value = config.DubBotBase[key];
        if (!value || value === "UNSET") {
            throw new Error("No value has been set in config for key: DubBotBase." + key);
        }
    }
}
function _validateConfig ( config ) { for ( var i = 0 ; i < REQUIRED_CONFIG_VARIABLES . length ; i ++ ) { var key = REQUIRED_CONFIG_VARIABLES [ i ] ; var value = config . DubBotBase [ key ] ; if ( ! value || value === "UNSET" ) { throw new Error ( "No value has been set in config for key: DubBotBase." + key ) ; } } }
Performs validation to ensure the npm environment has been set up properly.
If anything is wrong, throws an error.

@params {object} config - The current config object to validate
Performs validation to ensure the npm environment has been set up properly . If anything is wrong throws an error .