defenseunicorns / maru-runner

The Unicorn Task Runner
Apache License 2.0
8 stars 0 forks source link

fix: cmdPrefix bug #35

Closed decleaver closed 3 months ago

decleaver commented 3 months ago

Description

Added space after cmdPrefix, otherwise the actionCmdMutation function was replacing instances where the CmdPrefix matched a relative path getting passed in. In the case of #34 the cmdPrefix was set to ./uds which was matching and replacing the beginning of the path being passed in the cmd uds deploy ../uds-bundle-test-${UDS_ARCH}-${VERSION}.tar.zst. Adding a space to the cmdPrefix should prevent this from happening with any provided paths.

test will be created in uds-cli since bug was found running uds command.

Related Issue

Fixes #34

Type of change