From fdd8a68c61c7b98ff8fed9bfaac9640849344bab Mon Sep 17 00:00:00 2001 From: Samuel Parkinson <51677+sjparkinson@users.noreply.github.com> Date: Tue, 12 Feb 2019 10:14:31 +0000 Subject: [PATCH] fix: Use --team not --org for pipelines:create --- lib/pipelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pipelines.js b/lib/pipelines.js index 214a8e6a..a79cd97e 100644 --- a/lib/pipelines.js +++ b/lib/pipelines.js @@ -51,7 +51,7 @@ function getApps (pipelineName){ function create (pipelineName, { stagingApp, organisation }){ let command = 'heroku'; - let args = ['pipelines:create', pipelineName, '--org', organisation, '--stage', 'staging', '--app', stagingApp]; + let args = ['pipelines:create', pipelineName, '--team', organisation, '--stage', 'staging', '--app', stagingApp]; return new Promise((resolve, reject) =>{ let ps = spawn(command, args, { env:process.env, stdio:'inherit' });