Skip to content

Commit

Permalink
check sudo for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Geapefurit committed Nov 9, 2023
1 parent 83d984b commit 5c5b3d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/es-verify-eslint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if ! command -v yarn; then
$SUDO npm install -g yarn -y
fi

# $SUDO n v16.14.0
$SUDO n v16.14.0
npm install @typescript-eslint/eslint-plugin --save-dev
yarn lint

Expand Down
2 changes: 1 addition & 1 deletion hack/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function run-checks {
echo -e "Verifying ${check_name}"

start=$(date +%s)
run-cmd "${runner}" "${t}" && tr=$? || tr=$?
run-cmd "${runner}" "-x ${t}" && tr=$? || tr=$?
local elapsed=$(($(date +%s) - start))

if [[ ${tr} -eq 0 ]]; then
Expand Down

0 comments on commit 5c5b3d0

Please sign in to comment.