Skip to content

Commit 6d19336

Browse files
committed
Fix dasel command for version 3
1 parent bf25c39 commit 6d19336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/sh/validate_data_files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ff() {
1111

1212
val() {
1313
for el in $(ff "${1}"); do
14-
dasel -f "${el}" >/dev/null 2>&1 || {
14+
cat "${el}" | dasel -i yaml >/dev/null 2>&1 || {
1515
echo -e "\n[error] invalid file: ${el}"
16-
dasel -f "${el}"
16+
cat "${el}" | dasel -i yaml
1717
echo ""
1818
x=1
1919
}

0 commit comments

Comments
 (0)