Skip to content

Commit 9bbb21c

Browse files
committed
Get the package name and version from the app directly
1 parent 5c4bf44 commit 9bbb21c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

views/probot.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const name = 'serverless-lambda'
2-
const version = '0.1'
1+
const { name, version } = require(`${process.cwd()}/package`)
32

43
module.exports.template = `
54
<!DOCTYPE html>

0 commit comments

Comments
 (0)