UNPKG

@aws-amplify/cli-internal

Version:
11 lines 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.readJsonFile = void 0; const amplify_cli_core_1 = require("@aws-amplify/amplify-cli-core"); function readJsonFile(jsonFilePath, encoding = 'utf8', throwOnError = true) { return amplify_cli_core_1.JSONUtilities.readJson(jsonFilePath, { throwIfNotExist: throwOnError, }); } exports.readJsonFile = readJsonFile; //# sourceMappingURL=read-json-file.js.map