aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 12:56:42 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:29 +0100
commitb59623a835f1f922d06ff7212b5bf7825624d134 (patch)
treea1bae1e4c2b8a11d93dfdd3882c0c4a85c622c0e
parentecf857a71a16dec6d200150215d33587a6d85a54 (diff)
downloadgit-bug-b59623a835f1f922d06ff7212b5bf7825624d134.tar.gz
bridge: fix typo
-rw-r--r--bridge/core/bridge.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go
index 96646edb..b849bec6 100644
--- a/bridge/core/bridge.go
+++ b/bridge/core/bridge.go
@@ -12,8 +12,8 @@ import (
"github.com/pkg/errors"
)
-var ErrImportNorSupported = errors.New("import is not supported")
-var ErrExportNorSupported = errors.New("export is not supported")
+var ErrImportNotSupported = errors.New("import is not supported")
+var ErrExportNotSupported = errors.New("export is not supported")
const bridgeConfigKeyPrefix = "git-bug.bridge"
@@ -268,7 +268,7 @@ func (b *Bridge) ensureInit() error {
func (b *Bridge) ImportAll() error {
importer := b.getImporter()
if importer == nil {
- return ErrImportNorSupported
+ return ErrImportNotSupported
}
err := b.ensureConfig()
@@ -287,7 +287,7 @@ func (b *Bridge) ImportAll() error {
func (b *Bridge) Import(id string) error {
importer := b.getImporter()
if importer == nil {
- return ErrImportNorSupported
+ return ErrImportNotSupported
}
err := b.ensureConfig()
@@ -306,7 +306,7 @@ func (b *Bridge) Import(id string) error {
func (b *Bridge) ExportAll() error {
exporter := b.getExporter()
if exporter == nil {
- return ErrExportNorSupported
+ return ErrExportNotSupported
}
err := b.ensureConfig()
@@ -325,7 +325,7 @@ func (b *Bridge) ExportAll() error {
func (b *Bridge) Export(id string) error {
exporter := b.getExporter()
if exporter == nil {
- return ErrExportNorSupported
+ return ErrExportNotSupported
}
err := b.ensureConfig()