UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

14 lines (13 loc) 317 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.jsonParseOrThrow = void 0; var jsonParseOrThrow = function (str) { try { return JSON.parse(str); } catch (e) { throw new Error("could not parse json: ".concat(str)); } }; exports.jsonParseOrThrow = jsonParseOrThrow;