summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-01-21 20:26:43 +0100
committerMinteck <contact@minteck.org>2022-01-21 20:26:43 +0100
commite86b53733f106dd829c19fdac68d43de1d3dc28a (patch)
tree86ed3720d436b36e73ba0adf397e2159ef29af37
parent5cbdcb64359e484ab3933bbd56f399c84168d300 (diff)
downloadcobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.tar.gz
cobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.tar.bz2
cobalt-e86b53733f106dd829c19fdac68d43de1d3dc28a.zip
Fix regex in publishtag.js
-rw-r--r--modules/publishtag.js2
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