feat: improve output
This commit is contained in:
parent
cfa8c7e9f9
commit
051e257fba
6
main.go
6
main.go
@ -101,10 +101,10 @@ func main() {
|
||||
fmt.Println()
|
||||
fmt.Println("Press 'ctrl+c' to cancel")
|
||||
time.Sleep(time.Second)
|
||||
fmt.Println()
|
||||
fmt.Println()
|
||||
|
||||
for _, dsConsumedir := range cfg.ImportDirectories {
|
||||
fmt.Println()
|
||||
fmt.Println()
|
||||
fmt.Printf("Scanning folder '%s'\n", dsConsumedir)
|
||||
fmt.Println()
|
||||
fmt.Println()
|
||||
@ -192,7 +192,7 @@ func handleExistingFile(cfg config, fileExistsResponse FileExistsResult) error {
|
||||
|
||||
var itemDetails DocspellItemDetails
|
||||
if err := json.Unmarshal(output, &itemDetails); err != nil {
|
||||
return fmt.Errorf("pars item details: %w", err)
|
||||
return fmt.Errorf("parse item details: %w", err)
|
||||
}
|
||||
|
||||
folder := "null"
|
||||
|
Loading…
x
Reference in New Issue
Block a user