From f7a63d5cd36f9fe8b8a8c534f1a9b38c448c9d30 Mon Sep 17 00:00:00 2001 From: osmarks Date: Tue, 25 Aug 2020 22:58:01 +0100 Subject: [PATCH] fix spacing --- src/index.js | 4 +++- templates/index.pug | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 090ab15..21a96f2 100644 --- a/src/index.js +++ b/src/index.js @@ -174,7 +174,9 @@ globalData.renderDate = date => date.format("DD/MM/YYYY") const runOpenring = async () => { // wildly unsafe but only runs on input from me anyway - const out = await util.promisify(childProcess.exec)(`./openring -n6 ${globalData.feeds.map(x => "-s " + x).join(" ")} < openring.html`) + const arg = `./openring -n6 ${globalData.feeds.map(x => '-s "' + x + '"').join(" ")} < openring.html` + console.log(arg) + const out = await util.promisify(childProcess.exec)(arg) console.log(out.stderr) return out.stdout } diff --git a/templates/index.pug b/templates/index.pug index b31bf9a..ac12c08 100644 --- a/templates/index.pug +++ b/templates/index.pug @@ -23,7 +23,7 @@ block content span.description!= experiment.description p Get updates to the blog (not experiments) in your favourite RSS reader using the RSS feed. - p View some of my projects (and whatever else) + p View some of my projects (and whatever else) a(href=`https://git.${domain}/`) my git hosting. .ring!= openring \ No newline at end of file