Remove .exe in Windows

This commit is contained in:
Tan Chee Keong
2023-10-18 19:42:11 +08:00
parent da980383ff
commit 387777dd5f
8 changed files with 10 additions and 9 deletions

View File

@@ -17,6 +17,9 @@ write_to_file() {
# We need to add the header and the backticks to create the code block.
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file"
# remove .exe when using Windows
sed -i -e 's/".exe"//g' "$file"
}
# Check if a lighthouse binary exists in the current branch.