cli-engine-heroku
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -12,6 +12,11 @@ 'use strict'; | ||
var _org = require('./org'); | ||
var _org2 = _interopRequireDefault(_org); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const flags = exports.flags = { | ||
team: _team2.default | ||
team: _team2.default, | ||
org: _org2.default | ||
}; |
@@ -15,5 +15,6 @@ 'use strict'; | ||
description: 'team to use', | ||
parse: input => { | ||
parse: (input, cmd) => { | ||
if (input) return input; | ||
if (envTeam) return envTeam; | ||
if (cmd && cmd.flags.org) return cmd.flags.org; | ||
if (options.required) throw new Error('No team specified'); | ||
@@ -20,0 +21,0 @@ } |
{ | ||
"name": "cli-engine-heroku", | ||
"description": "heroku specific functionality for the cli-engine", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/cli-engine-heroku/issues", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12190
14
171
1
5