'use strict';

module.exports = function exports() {
    var path,
        params = [];

    if (process.env.GRUNT_CLI_CONFIG_CODE_COVERAGE) {
        path = __dirname + '/tasks-cov/config_options';
    } else {
        path = __dirname + '/tasks/config_options';
    }

    params.push(path);
    params.push(arguments);

    require.apply(this, params);
};

'use strict';

module.exports = function exports() {
    var path,
        params = [].slice.call(arguments);

    if (process.env.GRUNT_CLI_CONFIG_CODE_COVERAGE) {
        path = __dirname + '/tasks-cov/config_options';
    } else {
        path = __dirname + '/tasks/config_options';
    }

    params.unshift(path);

    return require.apply(this, params);
};

Fix arguments passed to the required file
Fix arguments passed to the required file

Signed-off-by: Henrique Vicente <d390f26e2f50ad5716a9c69c58de1f5df9730e3b@gmail.com>
