From 613ac58902b19c4694a57f50e7c27b61ad323c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= <2pi_r2@gmx.de> Date: Mon, 24 Aug 2020 17:45:42 +0200 Subject: [PATCH] fix: boolean options (#3) not wrap them in a string. --- lib/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugin.js b/lib/plugin.js index 223ad11..e2e1a40 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -10,8 +10,8 @@ export default async function(context, inject) { domainId: '<%= options.domainId %>', }, { - ignoreLocalhost: '<%= options.ignoreLocalhost %>', - detailed: '<%= options.detailed %>', + ignoreLocalhost: <%= options.ignoreLocalhost ? 'true' : 'false' %>, + detailed: <%= options.detailed ? 'true' : 'false' %>, } )