@@ -312,10 +312,15 @@ class Deployer {
312
312
if ( ! deployTarget . create ) {
313
313
// Check last deployed state. If it's not the same project, ask the user if
314
314
// they want to continue anyways. In non-interactive mode just cancel.
315
- const targetDescription = `${ deployTarget . project . title } (@ ${ deployTarget . workspace . login } / ${ deployTarget . project . slug } ) ` ;
315
+ const targetDescription = `${ deployTarget . project . title } (${ deployTarget . project . slug } ) in the @ ${ deployTarget . workspace . login } workspace ` ;
316
316
if ( deployConfig . projectId && deployConfig . projectId !== deployTarget . project . id ) {
317
317
this . effects . clack . log . warn (
318
- `The \`projectId\` in your deploy.json does not match. Continuing will overwrite ${ bold ( targetDescription ) } .`
318
+ wrapAnsi (
319
+ `The \`projectId\` in your deploy.json does not match. Continuing will overwrite ${ bold (
320
+ targetDescription
321
+ ) } .`,
322
+ this . effects . outputColumns
323
+ )
319
324
) ;
320
325
if ( this . effects . isTty ) {
321
326
const choice = await this . effects . clack . confirm ( {
@@ -333,10 +338,13 @@ class Deployer {
333
338
throw new CliError ( "Cancelling deploy due to misconfiguration." ) ;
334
339
}
335
340
} else if ( deployConfig . projectId ) {
336
- this . effects . clack . log . info ( `Deploying to ${ bold ( targetDescription ) } .` ) ;
341
+ this . effects . clack . log . info ( wrapAnsi ( `Deploying to ${ bold ( targetDescription ) } .` , this . effects . outputColumns ) ) ;
337
342
} else {
338
343
this . effects . clack . log . warn (
339
- `The \`projectId\` in your deploy.json is missing. Continuing will overwrite ${ bold ( targetDescription ) } .`
344
+ wrapAnsi (
345
+ `The \`projectId\` in your deploy.json is missing. Continuing will overwrite ${ bold ( targetDescription ) } .` ,
346
+ this . effects . outputColumns
347
+ )
340
348
) ;
341
349
if ( this . effects . isTty ) {
342
350
const choice = await this . effects . clack . confirm ( {
0 commit comments