Skip to content

Commit

Permalink
fix bug (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr authored Mar 24, 2023
1 parent 3d2aaba commit 0b5cf47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/boostd/import_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ var importDataCmd = &cli.Command{
}

id := cctx.Args().Get(0)
tpath := cctx.Args().Get(1)

path, err := homedir.Expand(cctx.Args().First())
path, err := homedir.Expand(tpath)
if err != nil {
return fmt.Errorf("expanding file path: %w", err)
}
Expand Down

0 comments on commit 0b5cf47

Please sign in to comment.