Unable to load data-sources.
JonathanAaron opened this issue · comments
I'm unable to load data-sources using cli.
dataSources = [], ^^^^^^^^^^^^^^^^ SyntaxError: Invalid shorthand property initializer at Object.exports.runInThisContext (vm.js:76:16)
Also won't this always equal false?
const handler = exports.handler = async ({
dataSources = [],
mock = false,
gateway,
transpile
}) => {
(0, _logger.warn)('The GrAMPS CLI is intended for local development only.');
let dataSourcePaths = [];
let loadedDataSources = [];
if (dataSources.length) {