Skip to content

Commit 0b5cf47

Browse files
authored
fix bug (#1332)
1 parent 3d2aaba commit 0b5cf47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/boostd/import_data.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ var importDataCmd = &cli.Command{
2323
}
2424

2525
id := cctx.Args().Get(0)
26+
tpath := cctx.Args().Get(1)
2627

27-
path, err := homedir.Expand(cctx.Args().First())
28+
path, err := homedir.Expand(tpath)
2829
if err != nil {
2930
return fmt.Errorf("expanding file path: %w", err)
3031
}

0 commit comments

Comments
 (0)