1- import { nspawn as spawn , getCLIPath , singleSelect , addCircleCITags } from '..' ;
1+ import { nspawn as spawn , getCLIPath , singleSelect , addCITags } from '..' ;
22import { KEY_DOWN_ARROW , AmplifyFrontend } from '../utils' ;
33import { amplifyRegions } from '../configure' ;
44import { v4 as uuid } from 'uuid' ;
@@ -32,7 +32,7 @@ export function initJSProjectWithProfile(cwd: string, settings: Object = {}): Pr
3232 } ;
3333 }
3434
35- addCircleCITags ( cwd ) ;
35+ addCITags ( cwd ) ;
3636
3737 const cliArgs = [ 'init' ] ;
3838 const providerConfigSpecified = ! ! s . providerConfig && typeof s . providerConfig === 'object' ;
@@ -89,7 +89,7 @@ export function initJSProjectWithProfile(cwd: string, settings: Object = {}): Pr
8989export function initAndroidProjectWithProfile ( cwd : string , settings : Object ) : Promise < void > {
9090 const s = { ...defaultSettings , ...settings } ;
9191
92- addCircleCITags ( cwd ) ;
92+ addCITags ( cwd ) ;
9393
9494 return new Promise ( ( resolve , reject ) => {
9595 spawn ( getCLIPath ( ) , [ 'init' ] , {
@@ -120,7 +120,7 @@ export function initAndroidProjectWithProfile(cwd: string, settings: Object): Pr
120120 . wait ( 'Try "amplify add api" to create a backend API and then "amplify push" to deploy everything' )
121121 . run ( ( err : Error ) => {
122122 if ( ! err ) {
123- addCircleCITags ( cwd ) ;
123+ addCITags ( cwd ) ;
124124
125125 resolve ( ) ;
126126 } else {
@@ -133,7 +133,7 @@ export function initAndroidProjectWithProfile(cwd: string, settings: Object): Pr
133133export function initIosProjectWithProfile ( cwd : string , settings : Object ) : Promise < void > {
134134 const s = { ...defaultSettings , ...settings } ;
135135
136- addCircleCITags ( cwd ) ;
136+ addCITags ( cwd ) ;
137137
138138 return new Promise ( ( resolve , reject ) => {
139139 spawn ( getCLIPath ( ) , [ 'init' ] , {
@@ -163,7 +163,7 @@ export function initIosProjectWithProfile(cwd: string, settings: Object): Promis
163163 . wait ( 'Try "amplify add api" to create a backend API and then "amplify push" to deploy everything' )
164164 . run ( ( err : Error ) => {
165165 if ( ! err ) {
166- addCircleCITags ( cwd ) ;
166+ addCITags ( cwd ) ;
167167
168168 resolve ( ) ;
169169 } else {
@@ -176,7 +176,7 @@ export function initIosProjectWithProfile(cwd: string, settings: Object): Promis
176176export function initFlutterProjectWithProfile ( cwd : string , settings : Object ) : Promise < void > {
177177 const s = { ...defaultSettings , ...settings } ;
178178
179- addCircleCITags ( cwd ) ;
179+ addCITags ( cwd ) ;
180180
181181 return new Promise ( ( resolve , reject ) => {
182182 let chain = spawn ( getCLIPath ( ) , [ 'init' ] , { cwd, stripColors : true } )
@@ -220,7 +220,7 @@ export function initProjectWithAccessKey(
220220) : Promise < void > {
221221 const s = { ...defaultSettings , ...settings } ;
222222
223- addCircleCITags ( cwd ) ;
223+ addCITags ( cwd ) ;
224224
225225 return new Promise ( ( resolve , reject ) => {
226226 let chain = spawn ( getCLIPath ( ) , [ 'init' ] , {
@@ -275,7 +275,7 @@ export function initProjectWithAccessKey(
275275}
276276
277277export function initNewEnvWithAccessKey ( cwd : string , s : { envName : string ; accessKeyId : string ; secretAccessKey : string } ) : Promise < void > {
278- addCircleCITags ( cwd ) ;
278+ addCITags ( cwd ) ;
279279
280280 return new Promise ( ( resolve , reject ) => {
281281 let chain = spawn ( getCLIPath ( ) , [ 'init' ] , {
@@ -314,7 +314,7 @@ export function initNewEnvWithAccessKey(cwd: string, s: { envName: string; acces
314314}
315315
316316export function initNewEnvWithProfile ( cwd : string , s : { envName : string } ) : Promise < void > {
317- addCircleCITags ( cwd ) ;
317+ addCITags ( cwd ) ;
318318
319319 return new Promise ( ( resolve , reject ) => {
320320 spawn ( getCLIPath ( ) , [ 'init' ] , {
@@ -354,7 +354,7 @@ export function amplifyInitSandbox(cwd: string, settings: {}): Promise<void> {
354354 } ;
355355 }
356356
357- addCircleCITags ( cwd ) ;
357+ addCITags ( cwd ) ;
358358
359359 return new Promise ( ( resolve , reject ) => {
360360 spawn ( getCLIPath ( ) , [ 'init' ] , { cwd, stripColors : true , env } )
0 commit comments