forked from mirrors/probot
fix: "Cannot find module `../lib/private-key`" error when running `probot receive` (#1332)
This commit is contained in:
parent
1f4a038400
commit
d671d82642
|
@ -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...]")
|
||||
|
|
Loading…
Reference in New Issue