You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stop suggesting start --dry-run when lint errors block import.
Dry runs go through the same lint gate as real imports, so the
lint-blocked remediation and next_steps pointed at a command that
could not succeed. Blocked lint now suggests re-running lint after
fixing errors instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: internal/import/d1/errors.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ const (
24
24
const (
25
25
wranglerMissingRemediation="Install wrangler, use npx wrangler d1 export, or pass --input if you already have a dump."
26
26
pgloaderInstallRemediation="Install pgloader (brew install pgloader on macOS; see https://pgloader.readthedocs.io/en/latest/install.html for other platforms)"
27
-
lintBlockedRemediation="Fix lint errors or run `pscale import d1 lint` for details; use `import d1 start --dry-run` for a read-only preview"
27
+
lintBlockedRemediation="Fix the reported lint errors, then re-run; `pscale import d1 lint` shows details. Import (including --dry-run) is blocked until lint passes"
0 commit comments