Expand working directory when specified for a menu item

Description

If a relative working directory is passed, we need to resolve the path to an absolute path. i.e.

{ "label":"do something", "action":"run", "command":"box task run", "workingDirectory":"build/" }

That working directory of build/ needs to be expanded to C:/path/to/webroot/build/

Also, if a relative file system path is passed, we need to resolve the path to an absolute path. i.e.

{ "label":"Open Build Folder", "action":"openfilesystem ", "path":"build/" }

That file system path of build/ needs to be expanded to C:/path/to/webroot/build/

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Components

Sentry

Created June 2, 2020 at 5:38 PM
Updated June 2, 2020 at 5:47 PM
Resolved June 2, 2020 at 5:40 PM