Skip to content

Commit 1715032

Browse files
committed
Fix assert message
1 parent 2c16e2e commit 1715032

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/cmake-rn/src/cmake-file-api.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,7 @@ export async function readCurrentTargets(
153153
configurations.length === 1
154154
? configurations[0]
155155
: configurations.find((config) => config.name === configuration);
156-
assert(
157-
relevantConfig,
158-
`Unable to locate "${configuration}" configuration found`,
159-
);
156+
assert(relevantConfig, `Unable to locate "${configuration}" configuration`);
160157
return relevantConfig.targets;
161158
}
162159

0 commit comments

Comments
 (0)