Skip to content

Commit 290a545

Browse files
chore: fix copy-to-clients
Co-authored-by: Trivikram Kamat <[email protected]>
1 parent 79845b7 commit 290a545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-clients/copy-to-clients.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const mergeManifest = (fromContent = {}, toContent) => {
4949
for (const name of fromNames) {
5050
if (typeof toContent[name] === "object") {
5151
merged[name] = mergeManifest(fromContent[name], toContent[name]);
52-
if (name === "scripts" || "devDependencies") {
52+
if (name === "scripts" || name === "devDependencies") {
5353
// Allow target package.json(toContent) has its own special script or
5454
// dev dependencies that won't be overwritten in codegen
5555
merged[name] = { ...toContent[name], ...merged[name] };

0 commit comments

Comments
 (0)