Skip to content

Commit f9c8712

Browse files
committed
fix: generate correct example for js with native
closes #61
1 parent 66a7cde commit f9c8712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default async function create(argv: yargs.Arguments<any>) {
175175
value: 'js',
176176
},
177177
{
178-
name: 'JavaScript module with Web support using Expo',
178+
name: 'JavaScript module with Expo example and Web support',
179179
value: 'expo',
180180
},
181181
],
@@ -275,7 +275,7 @@ export default async function create(argv: yargs.Arguments<any>) {
275275
} else if (type === 'js') {
276276
await copyDir(JS_FILES, folder);
277277
await copyDir(
278-
path.join(EXPO_FILES, 'example'),
278+
path.join(NATIVE_FILES, 'example'),
279279
path.join(folder, 'example')
280280
);
281281
} else {

0 commit comments

Comments
 (0)