fix(file): respect file path specified in arguments

This commit is contained in:
Maas Lalani 2023-03-30 11:29:32 -04:00
parent 0f0f8e9189
commit 066c79fa14

View file

@ -29,6 +29,7 @@ func (o Options) Run() error {
} }
fp := filepicker.New() fp := filepicker.New()
fp.CurrentDirectory = path
fp.Path = path fp.Path = path
fp.Height = o.Height fp.Height = o.Height
fp.AutoHeight = o.Height == 0 fp.AutoHeight = o.Height == 0