MCPcopy Create free account
hub / github.com/commitizen/cz-cli / getParsedPackageJsonFromPath

Function getParsedPackageJsonFromPath

src/common/util.js:26–28  ·  view source on GitHub ↗

* A helper method for getting the contents of package.json at a given path

(path)

Source from the content-addressed store, hash-verified

24 * A helper method for getting the contents of package.json at a given path
25 */
26function getParsedPackageJsonFromPath (path) {
27 return getParsedJsonFromFile(path, 'package.json');
28}
29
30/**
31 * Test if the passed argument is a function

Callers 1

gitCzFunction · 0.90

Calls 1

getParsedJsonFromFileFunction · 0.85

Tested by

no test coverage detected