From b59623a835f1f922d06ff7212b5bf7825624d134 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 24 Feb 2019 12:56:42 +0100 Subject: bridge: fix typo --- bridge/core/bridge.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bridge/core') 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() -- cgit