index.js
function verifyParameters(replacements, value, decl, environment) {
    if (undefined === replacements[value]) {
        throw decl.error(
            'Unknown variable ' + value,
            { plugin: plugin.name }
        );
    }

    if (undefined === replacements[value][environment]) {
        throw decl.error(
            'No suitable replacement for "' + value +
            '" in environment "' + environment + '"',
            { plugin: plugin.name }
        );
    }
}
function verifyParameters(replacements, value, decl, environment) {
    if (undefined === replacements[value]) {
        throw decl.error(
            'Unknown variable ' + value,
            { plugin: plugin.name }
        );
    }

    if (undefined === replacements[value][environment]) {
        throw decl.error(
            'No suitable replacement for "' + value +
            '" in environment "' + environment + '"',
            { plugin: plugin.name }
        );
    }
}
function verifyParameters ( replacements , value , decl , environment ) { if ( undefined === replacements [ value ] ) { throw decl . error ( 'Unknown variable ' + value , { plugin : plugin . name } ) ; } if ( undefined === replacements [ value ] [ environment ] ) { throw decl . error ( 'No suitable replacement for "' + value + '" in environment "' + environment + '"' , { plugin : plugin . name } ) ; } }
Verifies the found options and checks whether they are configured or not

@param {Object} replacements - Object containing replacement information
per environment
@param {String} value - String found inside the declaration that should
be replaced
@param {Declaration} decl - Declaration currently examined
@param {String} environment - Name of the current environment
Verifies the found options and checks whether they are configured or not