fixup some missing yarn -> pnpm transitions

This commit is contained in:
Timo K
2026-04-21 10:53:56 +02:00
parent 4d09651fe1
commit 00d6e034a0
13 changed files with 38 additions and 46 deletions

View File

@@ -4,9 +4,8 @@ FILE=.links.cjs
FILE_DIS=.links.temp-disabled.cjs
if test -f "$FILE_DIS"; then
# Only do the post-commit hook if the file was temp-disabled by the pre-commit hook.
# Otherwise linking was actively (`yarn links:disable`) disabled and this hook should noop.
# Otherwise linking was actively (`pnpm links:disable`) disabled and this hook should noop.
mv $FILE_DIS $FILE
yarnLog=$(yarn)
echo "[yarn-linker] The post-commit hook has re-enabled $FILE"
echo "[pnpm-linker] The post-commit hook has re-enabled $FILE"
exit 1
fi