Skip to content

Commit

Permalink
adding threshold default, re-enabling cron
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdiamond committed Jan 12, 2025
1 parent 4217895 commit 7feabd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
name: Node.js CI

on:
# schedule:
# - cron: '0 * * * *'
schedule:
- cron: '0 * * * *'
workflow_dispatch:
inputs:
submissionId:
Expand Down
2 changes: 1 addition & 1 deletion ouija.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const
EOL = require('os').EOL,
SUBREDDIT_NAME = 'AskOuija',
OUIJA_RESULT_CLASS = 'ouija-result',
COMMENT_SCORE_THRESHOLD = process.env.THRESHOLD,
COMMENT_SCORE_THRESHOLD = process.env.THRESHOLD ?? 10,

r = new snoowrap(config),
splitter = new GraphemeSplitter(),
Expand Down

0 comments on commit 7feabd7

Please sign in to comment.