mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-12 07:14:59 +00:00
Some fixes for the new web-vault and updates (#5703)
- Added a new org policy - Some new lint fixes - Crate updates Switched to `pastey`, since `paste` is unmaintained. Signed-off-by: BlackDex <black.dex@gmail.com>
This commit is contained in:
parent
2a18665288
commit
07b869b3ef
8 changed files with 328 additions and 244 deletions
4
build.rs
4
build.rs
|
@ -48,8 +48,8 @@ fn main() {
|
|||
fn run(args: &[&str]) -> Result<String, std::io::Error> {
|
||||
let out = Command::new(args[0]).args(&args[1..]).output()?;
|
||||
if !out.status.success() {
|
||||
use std::io::{Error, ErrorKind};
|
||||
return Err(Error::new(ErrorKind::Other, "Command not successful"));
|
||||
use std::io::Error;
|
||||
return Err(Error::other("Command not successful"));
|
||||
}
|
||||
Ok(String::from_utf8(out.stdout).unwrap().trim().to_string())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue