target/shfmt
This commit is contained in:
parent
f3851dbc88
commit
0dfe86a970
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
rwx_shfmt() {
|
||||
local root="${1}"
|
||||
shfmt --diff "${root}"
|
||||
local path="${1}"
|
||||
shfmt --diff "${path}"
|
||||
}
|
||||
|
|
|
@ -76,5 +76,6 @@ $(cat "${RWX_ROOT_SYSTEM}/${file}")
|
|||
done
|
||||
rwx_ifs_unset
|
||||
rwx_file_write "${target}" "${text}"
|
||||
rwx_shfmt "${target}"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue