summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/flyscrape/new.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/flyscrape/new.go b/cmd/flyscrape/new.go
index ce666ce..8c0d6c4 100644
--- a/cmd/flyscrape/new.go
+++ b/cmd/flyscrape/new.go
@@ -9,7 +9,7 @@ import (
"fmt"
"os"
- "github.com/philippta/flyscrape/js"
+ "github.com/philippta/flyscrape"
)
type NewCommand struct{}
@@ -31,7 +31,7 @@ func (c *NewCommand) Run(args []string) error {
return fmt.Errorf("script already exists")
}
- if err := os.WriteFile(script, js.Template, 0o644); err != nil {
+ if err := os.WriteFile(script, flyscrape.ScriptTemplate, 0o644); err != nil {
return fmt.Errorf("failed to create script %q: %w", script, err)
}