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():