Vendor in build script

This commit is contained in:
Gregory Schier
2024-08-09 08:51:21 -07:00
parent 6232a46ca8
commit 411fd4f530
2 changed files with 5 additions and 6 deletions

View File

@@ -16,10 +16,9 @@
"build:icon:dev": "tauri icon design/icon-dev.png --output ./src-tauri/icons/dev",
"build:js": "vite build",
"build:plugin-runtime": "npm run --prefix plugin-runtime build",
"vendor": "run-p vendor:*",
"vendor:vendor-protoc": "node scripts/vendor-protoc.cjs",
"vendor:vendor-plugins": "node scripts/vendor-plugins.cjs",
"vendor:vendor-node": "node scripts/vendor-node.cjs",
"build:vendor-protoc": "node scripts/vendor-protoc.cjs",
"build:vendor-plugins": "node scripts/vendor-plugins.cjs",
"build:vendor-node": "node scripts/vendor-node.cjs",
"prepare": "husky install",
"replace-version": "node scripts/replace-version.cjs"
},

View File

@@ -724,10 +724,10 @@ async fn cmd_filter_response(
) -> Result<FilterResponse, String> {
let response = get_http_response(&w, response_id)
.await
.expect("Failed to get response");
.expect("Failed to get http response");
if let None = response.body_path {
return Err("Response body not found".to_string());
return Err("Response body path not set".to_string());
}
let mut content_type = "".to_string();