diff --git a/.husky/pre-commit b/.husky/pre-commit index ee7d44c..658a7c4 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -24,6 +24,7 @@ if [ $? -ne 0 ]; then exit 1 else echo "${COLOR_GREEN}✅ SQL formatted successfully.${COLOR_RESET}" + git ls-files -m '*.sql' | xargs -r git add fi echo "${COLOR_GREEN}🎉 All pre-commit checks passed. Committing!${COLOR_RESET}" diff --git a/package-lock.json b/package-lock.json index 28e0359..0dfc77f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "license": "MIT", "dependencies": { "minisearch": "^7.1.2", diff --git a/package.json b/package.json index 96cfb96..5d71018 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "10.7.4", + "version": "10.7.5", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "engines": {