mirror of
https://github.com/sbrow/envr.git
synced 2026-02-27 20:11:45 -05:00
feat(sync): envr can now detect if directories have moved.
This commit is contained in:
@@ -31,7 +31,7 @@ var backupCmd = &cobra.Command{
|
||||
record := app.NewEnvFile(path)
|
||||
|
||||
if err := db.Insert(record); err != nil {
|
||||
panic(err)
|
||||
return err
|
||||
} else {
|
||||
fmt.Printf("Saved %s into the database", path)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user