mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-07 05:47:03 +00:00
11 lines
327 B
Bash
Executable File
11 lines
327 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
FILE=.links.disabled.yaml
|
|
if test -f "$FILE"; then
|
|
# echo "$FILE exists. -> moving to .links.disabled.yaml"
|
|
mv .links.disabled.yaml .links.yaml
|
|
# echo "running yarn"
|
|
yarnLog=$(yarn)
|
|
echo "The post-commit hook enabled the links again: moved .links.disabled.yaml to .links.yaml and ran yarn."
|
|
exit 1
|
|
fi |