1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Chore: CI: Fix .eslintignore and .gitignore CI check passes when it should fail (#10923)

This commit is contained in:
Henry Heino 2024-08-23 03:49:17 -07:00 committed by GitHub
parent 700ffa2529
commit 12a26023dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,6 +180,10 @@ fi
if [ "$IS_LINUX" == "1" ]; then
echo "Step: Checking for files that should have been ignored..."
# .gitignore and .eslintignore can be modified during yarn install. Reset them
# so that checkIgnoredFiles works.
git restore .gitignore .eslintignore
node packages/tools/checkIgnoredFiles.js
testResult=$?
if [ $testResult -ne 0 ]; then