summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-01-21 20:28:48 +0100
committerMinteck <contact@minteck.org>2022-01-21 20:28:48 +0100
commitb2dd4c8a944a442ef6791d639d5fd1ec7f3d0638 (patch)
tree8ee30309b75952c7d1f84d70a3869d28ea2255c5
parente86b53733f106dd829c19fdac68d43de1d3dc28a (diff)
downloadcobalt-b2dd4c8a944a442ef6791d639d5fd1ec7f3d0638.tar.gz
cobalt-b2dd4c8a944a442ef6791d639d5fd1ec7f3d0638.tar.bz2
cobalt-b2dd4c8a944a442ef6791d639d5fd1ec7f3d0638.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 e4b0160..adee884 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(.*)publish( *):( *)true\n(.*)---/gm)
+ return fs.readFileSync(file).toString().match(/---\n((.|\n)*)publish( *):( *)true\n(.*)---/gm)
} \ No newline at end of file