ci: fix rustfmt failed (#748)
This commit is contained in:
3
.github/workflows/rustfmt.yml
vendored
3
.github/workflows/rustfmt.yml
vendored
@@ -29,4 +29,5 @@ jobs:
|
|||||||
|
|
||||||
- uses: LoliGothick/rustfmt-check@master
|
- uses: LoliGothick/rustfmt-check@master
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
working-directory: userspace/ksud
|
||||||
@@ -29,8 +29,8 @@ pub fn mount_systemlessly(module_dir: &str) -> Result<()> {
|
|||||||
// construct overlay mount params
|
// construct overlay mount params
|
||||||
let dir = std::fs::read_dir(module_dir);
|
let dir = std::fs::read_dir(module_dir);
|
||||||
let Ok(dir) = dir else {
|
let Ok(dir) = dir else {
|
||||||
bail!("open {} failed", defs::MODULE_DIR);
|
bail!("open {} failed", defs::MODULE_DIR);
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut system_lowerdir: Vec<String> = Vec::new();
|
let mut system_lowerdir: Vec<String> = Vec::new();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user