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 7e9ac19 commit 5088541Copy full SHA for 5088541
checks.rb
@@ -28,7 +28,8 @@
28
29
# Count paper file length
30
word_count = Open3.capture3("cat #{paper_path} | wc -w")[0].to_i
31
- word_count_msg = "📄 Wordcount for `#{File.basename(paper_path)}` is **#{word_count}**"
+ word_count_icon = word_count > 1999 ? "🚨" : (word_count > 1200 ? "⚠️" : "📄")
32
+ word_count_msg = "#{word_count_icon} Wordcount for `#{File.basename(paper_path)}` is **#{word_count}**"
33
34
# Detect a "Statement of need" section
35
paper_file_text = File.open(paper_path).read
0 commit comments