From 1d2bbacfdaf8e38cb97ec9ba19d8ace1dfb9acfe Mon Sep 17 00:00:00 2001 From: suyanhanx Date: Sun, 8 Oct 2023 16:53:58 +0800 Subject: [PATCH] update verify.py Signed-off-by: suyanhanx --- scripts/verify.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/verify.py b/scripts/verify.py index a43ece1c4225..81d6a41ba413 100755 --- a/scripts/verify.py +++ b/scripts/verify.py @@ -53,9 +53,6 @@ def build_core(): def build_java_binding(): print("Start building opendal java binding") - # change to java binding directory - os.chdir("bindings/java") - subprocess.run( [ "./mvnw", @@ -65,11 +62,9 @@ def build_java_binding(): "-Dcargo-build.profile=release", ], check=True, + cwd="bindings/java" ) - # change back to base directory - os.chdir(BASE_DIR) - def main(): if not check_rust():