1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Fixed config and checks

This commit is contained in:
Tony Tkáčik 2023-08-24 10:56:40 +02:00
parent 8c3dd50750
commit 13b07244fb
3 changed files with 14 additions and 3 deletions

View file

@ -78,7 +78,6 @@ function :read {
nux.fatal "Unknown config store $store".
;;
esac
shift;
:write.direct "$(nux.cfg.file.$store)" "$@"
}
@ -146,7 +145,7 @@ function :read {
mkdir -p "$(dirname "$file")";
touch "$file";
fi
shift;
nux.log debug "Args $@"
yaml w "$file" "$@" -i
}