We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69dfe6 commit 22c322eCopy full SHA for 22c322e
bin/page.ts
@@ -34,7 +34,7 @@ const page = () => {
34
.command("page <fileName> <filePath>")
35
.description("Generate page(screen) component.")
36
.action(async (fileName, filePath) => {
37
- const absolutePath = path.resolve(filePath) + `/${fileName}.tsx`
+ const absolutePath = `${path.resolve(filePath)}/${fileName}.tsx`
38
const spinner = ora("Creating page component...")
39
spinner.start()
40
if (isExistFile(absolutePath, spinner)) {
0 commit comments