Browse Source

fix clippy linting

tags/v0.3.11-rc1
haixuantao 10 months ago
parent
commit
4b5e6e2422
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      apis/c++/node/build.rs

+ 3
- 4
apis/c++/node/build.rs View File

@@ -40,16 +40,15 @@ fn origin_dir() -> PathBuf {
.join("cxxbridge")
.join("dora-node-api-cxx")
.join("src");
let target_dir = if cross_target.exists() {

if cross_target.exists() {
cross_target
} else {
default_target
.join("cxxbridge")
.join("dora-node-api-cxx")
.join("src")
};

target_dir
}
}

#[cfg(feature = "ros2-bridge")]


Loading…
Cancel
Save