mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix: Fix print
This commit is contained in:
parent
c166dbabdb
commit
5d06143883
@ -28,7 +28,7 @@ type FatalFileNotReadableError struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (e FatalFileNotReadableError) Error() string {
|
func (e FatalFileNotReadableError) Error() string {
|
||||||
return fmt.Sprint("Fatal error! config-lsp was unable to read the file (%s); error: %s", e.FileURI, e.Err.Error())
|
return fmt.Sprintf("Fatal error! config-lsp was unable to read the file (%s); error: %s", e.FileURI, e.Err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
type UnsupportedLanguageError struct {
|
type UnsupportedLanguageError struct {
|
||||||
@ -36,7 +36,7 @@ type UnsupportedLanguageError struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (e UnsupportedLanguageError) Error() string {
|
func (e UnsupportedLanguageError) Error() string {
|
||||||
return fmt.Sprint("Language '%s' is not supported. Choose one of: %s", e.SuggestedLanguage, strings.Join(AllSupportedLanguages, ", "))
|
return fmt.Sprintf("Language '%s' is not supported. Choose one of: %s", e.SuggestedLanguage, strings.Join(AllSupportedLanguages, ", "))
|
||||||
}
|
}
|
||||||
|
|
||||||
type LanguageUndetectableError struct{}
|
type LanguageUndetectableError struct{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user