We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e550d4a commit 93f587dCopy full SHA for 93f587d
README.md
@@ -24,7 +24,7 @@ Navigate into an empty directory to execute the command.
24
$ react-native-create-library MyFancyLibrary
25
```
26
27
-This will create the library **in the current folder**.
+This will create the folder `MyFancyLibrary` in which the library will be created in.
28
29
30
Usage: react-native-create-library [options] <name>
lib.js
@@ -67,7 +67,7 @@ module.exports = ({
67
platforms,
68
};
69
70
- const filename = template.name(args);
+ const filename = path.join(name, template.name(args));
71
const baseDir = filename.split(path.basename(filename))[0];
72
73
return createFolder(baseDir).then(() =>
0 commit comments