From a08cbe363893d5cfe400ea37d36aefe06aebf693 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 3 Nov 2022 20:03:38 +1300 Subject: [PATCH] Fix function code path --- tests/benchmarks/Functions/Base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/Functions/Base.php b/tests/benchmarks/Functions/Base.php index 1369e7c6a4..96f24edb1f 100644 --- a/tests/benchmarks/Functions/Base.php +++ b/tests/benchmarks/Functions/Base.php @@ -47,13 +47,13 @@ abstract class Base extends Scope public function prepareDeployment() { - static::$codePath = realpath(__DIR__ . '/../../resources/functions') . "/php/code.tar.gz"; + static::$codePath = realpath(__DIR__ . '/../../resources/functions/php/code.tar.gz'); $stdout = ''; $stderr = ''; Console::execute( - 'cd ' . realpath(__DIR__ . "/../../resources/functions") . '/' . static::$codePath . " && \ + 'cd ' . realpath(__DIR__ . "/../../resources/functions/php") . " && \ tar --exclude code.tar.gz -czf code.tar.gz .", '', $stdout,