Colon in swa-cli.config.json
configuration.run
value causing field to not be read
#782
Open
1 of 3 tasks
Labels
command: start
All issues related to the start command
type: bug
Something isn't working
version: ga
Issues related to major/GA releases
Before filing this issue, please ensure you're using the latest CLI by running
swa --version
and comparing to the latest version on npm.Are you accessing the CLI from the default port
:4280
?No, I am using a different port number (--port
) and accessing the CLI from that portYes, I am accessing the CLI from port:4280
ℹ️ NOTE: Make sure to enable debug logs when running any
swa
commands using--verbose=silly
Describe the bug
configuration.run
value does not seem to be picked up correctly if the value contains a colon (:
)To Reproduce
I can see this in
options.run
with--print-config
but it doesn't seem to get passed on toSWA_CLI_STARTUP_COMMAND
when checking-V=silly
:I set a
run
value inswa-cli-config.json
like this:- SWA_CLI_STARTUP_COMMAND:
If I remove the colon
Expected behavior
I expect the value with the colon to be read om correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I made a minimal repro here https://github.com/jag43/swa-repro
You can see the different behaviour with
and
The text was updated successfully, but these errors were encountered: