We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d40a2e commit 24f0b53Copy full SHA for 24f0b53
scripts/check_assets.sh
@@ -3,6 +3,12 @@
3
4
set -e
5
6
+# Check if the priv/static/js directory exists
7
+if [ ! -d "priv/static/js/" ]; then
8
+ echo "❌ The directory priv/static/js/ does not exist."
9
+ echo "Please ensure the directory exists and try again."
10
+ exit 1
11
+fi
12
# Check if there are any changes in priv/static/js directory
13
if ! git diff --exit-code priv/static/js/ > /dev/null 2>&1; then
14
echo "❌ JS assets are not up to date in priv/static/js/"
0 commit comments