Skip to content

Commit d12666b

Browse files
author
Kelly Selden
committed
remove redundant json
1 parent 31b6db6 commit d12666b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/get-default-blueprint-name-override.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = async function getBlueprintNameOverride(packageNameOrPath, cwd
2020
packageJson = JSON.parse(await fs.readFile(localPackageJsonPath));
2121
} else {
2222
try {
23-
packageJson = await npm.json('view', packageNameOrPath, '--json');
23+
packageJson = await npm.json('view', packageNameOrPath);
2424
} catch (err) {
2525
return null;
2626
}

0 commit comments

Comments
 (0)