From 36db26595a039d1c02b2fa0b81b24370bf025be4 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sat, 7 Dec 2019 00:29:00 +0100 Subject: [PATCH] Update event handler name --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 25ca52e2..564ba826 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ const Conf = require('conf') // for simple kv store module.exports = { name: '@netlify/plugin-lighthouse', // users will be tempted to use semver, but we really don't care - postDeploy: async ({ pluginConfig }) => { + onPostDeploy: async ({ pluginConfig }) => { let { site = process.env.SITE, currentVersion, compareWithVersion = 'init' } = pluginConfig if (typeof currentVersion === `undefined`) {