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 1b2838c commit e1c3a80Copy full SHA for e1c3a80
.github/workflows/partials-audit.yml
@@ -32,7 +32,8 @@ jobs:
32
UNUSED_FILES=""
33
for FILE in $FILES; do
34
# Extract product and file name from the path
35
- PRODUCT=$(echo "$FILE" | awk -F'/' '{print $(NF-1)}')
+ TEMP_STRING=${FILE#*partials/}
36
+ PRODUCT=${TEMP_STRING%%/*}
37
TEMP_PATH=${FILE#*src/content/partials/*/}
38
FILENAME=${TEMP_PATH%.mdx}
39
src/content/partials/aegis/clearly-unused.mdx
@@ -0,0 +1,5 @@
1
+---
2
+{}
3
4
+
5
+Clearly unused.
0 commit comments