@miller-tech/uap 1.111.2 → 1.111.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
Binary file
|
package/templates/hooks/stop.sh
CHANGED
|
@@ -73,7 +73,7 @@ if [ "$CODE_CHANGED" = "true" ]; then
|
|
|
73
73
|
# Gate 2: Build check (heuristic — check if dist/ is newer than last src change)
|
|
74
74
|
if [ -d "${PROJECT_DIR}/dist" ]; then
|
|
75
75
|
DIST_TIME=$(stat -c %Y "${PROJECT_DIR}/dist" 2>/dev/null || echo "0")
|
|
76
|
-
SRC_TIME=$(find "${PROJECT_DIR}/src" -name "*.ts" -newer "${PROJECT_DIR}/dist" 2>/dev/null
|
|
76
|
+
SRC_TIME=$(find "${PROJECT_DIR}/src" -name "*.ts" -newer "${PROJECT_DIR}/dist" -print -quit 2>/dev/null)
|
|
77
77
|
if [ -z "$SRC_TIME" ]; then
|
|
78
78
|
output+="[PASS] Build appears up-to-date (dist/ newer than src/)"$'\n'
|
|
79
79
|
else
|