summaryrefslogtreecommitdiff
path: root/internal/commands/errors.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2022-11-25 23:44:55 +1100
committerGitHub <noreply@github.com>2022-11-25 23:44:55 +1100
commit3e4ac7821d51ac447bb39e7e1ea3c385dc3084d9 (patch)
tree69594576856eb8b587158d9245f70aff4fec429a /internal/commands/errors.go
parent3c291b5685212813f98f365c8d963e0f107860cb (diff)
refactor: remove pre1 migration path (#4356)
This removes pre1 migrations and improves a lot of tooling.
Diffstat (limited to 'internal/commands/errors.go')
-rw-r--r--internal/commands/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/commands/errors.go b/internal/commands/errors.go
new file mode 100644
index 000000000..481053c33
--- /dev/null
+++ b/internal/commands/errors.go
@@ -0,0 +1,8 @@
+package commands
+
+import (
+ "errors"
+)
+
+// ErrStdinIsNotTerminal is returned when Stdin is not an interactive terminal.
+var ErrStdinIsNotTerminal = errors.New("stdin is not a terminal")