Skip to content

opener: revealItemInDir receives wrong path key #3111

@ndzik

Description

@ndzik
          await revealItemInDir(save_to_path)

This fails with:

[Error] Unhandled Promise Rejection: invalid args `path` for command `reveal_item_in_dir`: command reveal_item_in_dir missing required key path
	(anonymous function) (MyComponent.svelte:881)

I dived into the releases and suspect it happened here b8056f4

Specifically here

Quick workaround is manually calling the invoke command.

<<<<<<< HOTFIX
          await invoke("plugin:opener|reveal_item_in_dir", { path: save_to_path })
=======
          await revealItemInDir(save_to_path)
>>>>>>> BEFORE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions