From 5d3fb76f0f0577fabbc3621f07f6b848ad16be00 Mon Sep 17 00:00:00 2001 From: Stanislav Nikitin Date: Thu, 9 Feb 2017 02:50:24 +0500 Subject: [PATCH] Windows build fix. --- translator/translator_windows.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/translator/translator_windows.go b/translator/translator_windows.go index d59e7c6..066b0d3 100644 --- a/translator/translator_windows.go +++ b/translator/translator_windows.go @@ -23,7 +23,6 @@ package translator import ( // stdlib - "errors" "fmt" "os" ) @@ -37,7 +36,7 @@ func (t *Translator) detectLanguage() { func (t *Translator) detectTranslationsDirectory() error { // Translations MUST reside in directory neear binary! // ToDo: more checks. - t.translationsPath, _ := filepath.Abs(filepath.Dir(os.Args[0])) + t.translationsPath, _ = filepath.Abs(filepath.Dir(os.Args[0])) return nil }