Skip to content

Commit 03f94d4

Browse files
committed
Fixed bug passing type through defines
1 parent 9b75af3 commit 03f94d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cmake-rn/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const defineOption = new Option(
101101
);
102102
}
103103
const { name, type, value } = match.groups;
104-
return [...previous, { [type ? name : `${name}:${type}`]: value }];
104+
return [...previous, { [type ? `${name}:${type}` : name]: value }];
105105
})
106106
.default([]);
107107

0 commit comments

Comments
 (0)