From 699f72712dd5efc070ff23c43d703188af1dbb2a Mon Sep 17 00:00:00 2001 From: Giulio Coa Date: Fri, 5 Aug 2022 22:39:33 +0200 Subject: [PATCH] fix(travis ci): fix an error Fix an error when the find command is used --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 88b9ad9..bd12be8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ jobs: arch: amd64 script: - shellcheck -x auto_install/install.sh - - find scripts/ -type f | xargs shellcheck -x + - find scripts/ -type f -exec shellcheck -x {} \; - stage: style name: "Shell Style Guide" @@ -42,7 +42,7 @@ jobs: arch: amd64 script: - shfmt -d -i 2 -ci -sr auto_install/install.sh - - find scripts/ -type f | xargs shfmt -d -i 2 -ci -sr + - find scripts/ -type f -exec shfmt -d -i 2 -ci -sr {} \; - stage: test name: "OpenVPN Xenial & Commands"