ultimate-jekyll-manager 1.9.17 → 1.9.19
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.
|
@@ -62,18 +62,15 @@ jobs:
|
|
|
62
62
|
node-version: ${{ env.NODE_VERSION }}
|
|
63
63
|
- name: Install Socket Firewall
|
|
64
64
|
run: npm install -g sfw
|
|
65
|
-
|
|
66
|
-
# runners are common, and sfw crashes (instead of gracefully degrading) when
|
|
67
|
-
# a fetch fails mid-flight, killing the whole job.
|
|
68
|
-
- name: Run node install (with retry)
|
|
65
|
+
- name: Run node install
|
|
69
66
|
run: |
|
|
70
67
|
for attempt in 1 2 3; do
|
|
71
|
-
echo "Install attempt $attempt of 3..."
|
|
68
|
+
echo "Install attempt $attempt of 3 (sfw)..."
|
|
72
69
|
sfw npm install && break
|
|
73
70
|
echo "Attempt $attempt failed"
|
|
74
71
|
if [ "$attempt" -eq 3 ]; then
|
|
75
|
-
echo "All
|
|
76
|
-
|
|
72
|
+
echo "⚠ All sfw attempts failed, falling back to plain npm install"
|
|
73
|
+
npm install
|
|
77
74
|
fi
|
|
78
75
|
sleep 15
|
|
79
76
|
done
|
|
@@ -373,6 +373,7 @@ function lowercaseExtTransform() {
|
|
|
373
373
|
if (file.isNull()) {
|
|
374
374
|
file.contents = jetpack.read(file.path, 'buffer');
|
|
375
375
|
}
|
|
376
|
+
logger.log(`🔍 Uppercase ext: ${file.relative}, isNull=${file.isNull()}, isBuffer=${file.isBuffer()}, contentsLen=${file.contents ? file.contents.length : 'N/A'}, firstBytes=${file.contents ? file.contents.slice(0, 4).toString('hex') : 'N/A'}`);
|
|
376
377
|
file.path = file.path.slice(0, -ext.length) + ext.toLowerCase();
|
|
377
378
|
}
|
|
378
379
|
cb(null, file);
|