From 6d6c400d0606fc1d5dcbbb5fea76f4008b1c8bec Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 1 Aug 2024 05:12:04 +0000 Subject: [PATCH] fix(wiremock): change workdir --- wiremock/plugin/src/helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiremock/plugin/src/helpers.rs b/wiremock/plugin/src/helpers.rs index 998ea1e..7e755a4 100644 --- a/wiremock/plugin/src/helpers.rs +++ b/wiremock/plugin/src/helpers.rs @@ -44,7 +44,7 @@ pub fn setup() -> Result { ])? .with_exec(vec!["[ -f ../../mappings/github.com-ghes-2.21-stubs.json ] || pkgx wget -O ../../mappings/github.com-ghes-2.21-stubs.json https://raw.githubusercontent.com/tsirysndr/daggerverse/main/wiremock/mappings/github.com-ghes-2.21-stubs.json"])? .with_exec(vec![ - "grep -q wiremock: Procfile || echo -e 'wiremock: wiremock --port $WIREMOCK_PORT \\n' >> Procfile", + "grep -q wiremock: Procfile || echo -e 'wiremock: cd ../../ && wiremock --port $WIREMOCK_PORT \\n' >> Procfile", ])? .stdout()?;