We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
read-pkg-up
7
1 parent 8e0ac7c commit d852091Copy full SHA for d852091
1 file changed
addons/storyshots/storyshots-core/src/frameworks/hasDependency.js
@@ -2,7 +2,7 @@ import fs from 'fs';
2
import path from 'path';
3
import readPkgUp from 'read-pkg-up';
4
5
-const { packageJson: { dependencies, devDependencies } = {} } = readPkgUp.sync() || {};
+const { package: { dependencies, devDependencies } = {} } = readPkgUp.sync() || {};
6
export default function hasDependency(name) {
8
return (
0 commit comments