From 1eb30a0ce109a41b83412d35424de10af2a6e05a Mon Sep 17 00:00:00 2001 From: Swain Molster Date: Mon, 18 Sep 2023 15:18:07 -0400 Subject: [PATCH] fix: update template to not rely on filesystem location of package.json (#120) --- views/probot.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/views/probot.js b/views/probot.js index 4d4cfa3..5d20d0b 100644 --- a/views/probot.js +++ b/views/probot.js @@ -1,5 +1,3 @@ -const { name, version } = require(`${process.cwd()}/package`); - module.exports.template = ` @@ -7,7 +5,7 @@ module.exports.template = ` - ${name} | built with Probot + Built with Probot @@ -15,8 +13,7 @@ module.exports.template = ` Probot Logo

- Welcome to ${name}! - v${version} + Welcome to Probot!

This bot was built using Probot, a framework for building GitHub Apps.