UNPKG

@sasjs/cli

Version:

Command line interface for SASjs

14 lines (13 loc) 365 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseConfig = void 0; function parseConfig(config) { try { var parsedConfig = JSON.parse(config); return parsedConfig; } catch (err) { throw new Error('Context config file is not a valid JSON file.'); } } exports.parseConfig = parseConfig;