Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
fix: Use --team not --org for apps:create
Browse files Browse the repository at this point in the history
  • Loading branch information
sjparkinson committed Feb 12, 2019
1 parent f8c50a7 commit 76f72b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/provision.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const DEFAULT_REGION = 'us';
const DEFAULT_ORG = 'ft-customer-products';

function task (name, { region = DEFAULT_REGION, organisation = DEFAULT_ORG } = {}) {
return spawn(`heroku create -a ${name} --region ${region} --org ${organisation} --no-remote`, { verbose: true });
return spawn(`heroku create -a ${name} --region ${region} --team ${organisation} --no-remote`, { verbose: true });
};

module.exports = function (program, utils) {
Expand Down

0 comments on commit 76f72b8

Please sign in to comment.