fix: "Cannot find module `../lib/private-key`" error when running `probot receive` (#1332)

This commit is contained in:
Gregor Martynus 2020-09-03 09:58:31 -07:00 committed by GitHub
parent 1f4a038400
commit d671d82642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -7,13 +7,13 @@ const path = require("path");
const uuid = require("uuid");
const program = require("commander");
const { findPrivateKey } = require("../lib/private-key");
const { findPrivateKey } = require("../lib/helpers/get-private-key");
const {
handleDeprecatedEnvironmentVariables,
} = require("../lib/handle-deprecated-environment-variables");
logWarningsForObsoleteEnvironmentVariables,
} = require("../lib/helpers/log-warnings-for-obsolete-environment-variables");
const { Probot } = require("../");
handleDeprecatedEnvironmentVariables();
logWarningsForObsoleteEnvironmentVariables();
program
.usage("[options] [path/to/app.js...]")