spellcheck: fix and update (#1359)

* spellcheck: fix and update

* spellcheck: add exclude line for gateio_types
This commit is contained in:
Ryan O'Hara-Reid
2023-10-03 16:07:03 +11:00
committed by GitHub
parent 7f0faf7850
commit ecf0a5bcb3
31 changed files with 42 additions and 40 deletions

View File

@@ -1551,7 +1551,7 @@ func migrateConfig(configFile, targetDir string) (string, error) {
// ReadConfigFromFile reads the configuration from the given file
// if target file is encrypted, prompts for encryption key
// Also - if not in dryrun mode - it checks if the configuration needs to be encrypted
// and stores the file as encrypted, if necessary (prompting for enryption key)
// and stores the file as encrypted, if necessary (prompting for encryption key)
func (c *Config) ReadConfigFromFile(configPath string, dryrun bool) error {
defaultPath, _, err := GetFilePath(configPath)
if err != nil {