Skip to content

Commit

Permalink
Choose better variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
issea1015 committed Sep 19, 2021
1 parent 5fbac57 commit 8179d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/serverless.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let hasTelemetryBeenReported = false;
// to propery handle e.g. `SIGINT` interrupt
const keepAliveTimer = setTimeout(() => {}, 60 * 60 * 1000);

const externalCommands = ['plugin install'];
const standaloneCommands = ['plugin install'];

process.once('uncaughtException', (error) => {
clearTimeout(keepAliveTimer);
Expand Down Expand Up @@ -497,7 +497,7 @@ const processSpanPromise = (async () => {

const configurationFilename = configuration && configurationPath.slice(serviceDir.length + 1);

if (externalCommands.includes(command)) {
if (standaloneCommands.includes(command)) {
require('../lib/cli/ensure-supported-command')(configuration);
await require(`../commands/${commands.join('/')}`)({
configuration,
Expand Down

0 comments on commit 8179d00

Please sign in to comment.