diff options
author | Minteck <contact@minteck.org> | 2022-01-21 20:26:43 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-01-21 20:26:43 +0100 |
commit | e86b53733f106dd829c19fdac68d43de1d3dc28a (patch) | |
tree | 86ed3720d436b36e73ba0adf397e2159ef29af37 | |
parent | 5cbdcb64359e484ab3933bbd56f399c84168d300 (diff) | |
download | cobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.tar.gz cobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.tar.bz2 cobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.zip |
Fix regex in publishtag.js
-rw-r--r-- | modules/publishtag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/publishtag.js b/modules/publishtag.js index 8f0baa2..e4b0160 100644 --- a/modules/publishtag.js +++ b/modules/publishtag.js @@ -1,5 +1,5 @@ const fs = require('fs'); module.exports = (file) => { - return fs.readFileSync(file).toString().match(/---\n(.*)\npublish( *):( *)true\n(.*)---/gm) + return fs.readFileSync(file).toString().match(/---\n(.*)publish( *):( *)true\n(.*)---/gm) }
\ No newline at end of file |