Skip to content

Commit e1c3a80

Browse files
committed
test 5
1 parent 1b2838c commit e1c3a80

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/partials-audit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
UNUSED_FILES=""
3333
for FILE in $FILES; do
3434
# Extract product and file name from the path
35-
PRODUCT=$(echo "$FILE" | awk -F'/' '{print $(NF-1)}')
35+
TEMP_STRING=${FILE#*partials/}
36+
PRODUCT=${TEMP_STRING%%/*}
3637
TEMP_PATH=${FILE#*src/content/partials/*/}
3738
FILENAME=${TEMP_PATH%.mdx}
3839
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
{}
3+
---
4+
5+
Clearly unused.

0 commit comments

Comments
 (0)