Skip to content

Commit 457f610

Browse files
committed
create sample app
1 parent 757ff58 commit 457f610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

esbuild/esbuild.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func BuildApp() {
1919
fmt.Println("No app dir, creating...")
2020
WriteApp()
2121
}
22-
if _, err := os.Stat(dir + "main.tsx"); os.IsNotExist(err) {
22+
if _, err := os.Stat(path.Join(dir, "./main.tsx")); os.IsNotExist(err) {
2323
fmt.Println("No app main.tsx, creating...")
2424
WriteApp()
2525
}

0 commit comments

Comments
 (0)