heroku 9.2.0-beta.0 → 9.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ const glob = require("glob");
7
7
  const Path = require("path");
8
8
  const inquirer = require("inquirer");
9
9
  const os = require("os");
10
+ const core_1 = require("@oclif/core");
10
11
  const DOCKERFILE_REGEX = /\bDockerfile(.\w*)?$/;
11
12
  const cmd = async function (cmd, args, options = {}) {
12
13
  (0, debug_1.debug)(cmd, args);
@@ -114,6 +115,10 @@ const chooseJobs = async function (jobs) {
114
115
  for (const processType in jobs) {
115
116
  if (Object.prototype.hasOwnProperty.call(jobs, processType)) {
116
117
  const group = jobs[processType];
118
+ if (group === undefined) {
119
+ core_1.ux.warn(`Dockerfile.${processType} not found`);
120
+ continue;
121
+ }
117
122
  if (group.length > 1) {
118
123
  const prompt = [{
119
124
  type: 'list',