Skip to content

Commit d889fbd

Browse files
committed
fix: negative emotion
fix: negative emotion
1 parent d0d446c commit d889fbd

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

draft.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
$folderPath = "src\content\posts"
2+
3+
$mdFiles = Get-ChildItem -Path $folderPath -Filter "*.md" -Recurse -File
4+
5+
foreach ($file in $mdFiles) {
6+
$content = Get-Content -Path $file.FullName -Raw
7+
8+
if ($content -imatch "draft\s*:\s*true") {
9+
# Print the full path of the matching file
10+
Write-Output $file.FullName
11+
}
12+
}

src/content/posts/NET/Heap/Heap.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,3 @@ category: "DOTNET"
88
draft: false
99
lang: "en"
1010
---
11-
12-
FUCK YOU
13-
sorry I burnt out , I FUCK YOU Macau rubblish shitty place ?
14-
ASKING FOR RESPECT ? What the fuck you dont even respect me , how can i respect you ?
15-
Shouting out DOG SHITS is meaningless , FUCK YOU ALL MACAU SHITTY PEOPLE SHITTY Place

0 commit comments

Comments
 (0)