superdesk/superdesk-client-core

View on GitHub
tasks/options/get-config.js

Summary

Maintainability
A
0 mins
Test Coverage
const path = require('path');

// get the superdesk.config.js configuration object
function getConfig() {
    return require(path.join(process.cwd(), 'superdesk.config.js'))();
}

module.exports = {
    getConfig: getConfig,
};