fix(cli): explicitly set the version so --version
works
#33309
Annotations
3 errors
tasks/server-tests/bothServer.test.mts#L9
Error: Snapshot `rw serve > has help configured 1` mismatched
- Expected
+ Received
@@ -6,18 +6,18 @@
rw serve Start a server for serving the api and web sides [default]
rw serve api Start a server for serving the api side
rw serve web Start a server for serving the web side
Options:
- --version Show version number [boolean]
--cwd Working directory to use (where
`redwood.toml` is located)
--load-env-files Load additional .env files. Values
defined in files specified later
override earlier ones. [array]
--telemetry Whether to send anonymous usage
telemetry to RedwoodJS [boolean]
+ --version Show version number [boolean]
--webPort, --web-port The port for the web server to
listen on [number]
--webHost, --web-host The host for the web server to
listen on. Note that you most likely
want this to be '0.0.0.0' in
β― bothServer.test.mts:9:20
|
tasks/server-tests/bothServer.test.mts#L57
Error: Snapshot `rw serve > errors out on unknown args 1` mismatched
- Expected
+ Received
@@ -6,18 +6,18 @@
rw serve Start a server for serving the api and web sides [default]
rw serve api Start a server for serving the api side
rw serve web Start a server for serving the web side
Options:
- --version Show version number [boolean]
--cwd Working directory to use (where
`redwood.toml` is located)
--load-env-files Load additional .env files. Values
defined in files specified later
override earlier ones. [array]
--telemetry Whether to send anonymous usage
telemetry to RedwoodJS [boolean]
+ --version Show version number [boolean]
--webPort, --web-port The port for the web server to
listen on [number]
--webHost, --web-host The host for the web server to
listen on. Note that you most likely
want this to be '0.0.0.0' in
β― bothServer.test.mts:57:24
|
|
This job failed
Loading