fix(shorebird_cli): remove extra newline when prompting for release version (#200)
This commit is contained in:
@@ -159,9 +159,12 @@ Did you forget to run "shorebird init"?''',
|
||||
final pubspecVersion = pubspecYaml.version!;
|
||||
final pubspecVersionString =
|
||||
'''${pubspecVersion.major}.${pubspecVersion.minor}.${pubspecVersion.patch}''';
|
||||
|
||||
if (releaseVersionArg == null) logger.info('');
|
||||
|
||||
final releaseVersion = releaseVersionArg ??
|
||||
logger.prompt(
|
||||
'\nWhich release is this patch for?',
|
||||
'Which release is this patch for?',
|
||||
defaultValue: pubspecVersionString,
|
||||
);
|
||||
final arch = results['arch'] as String;
|
||||
|
||||
@@ -149,9 +149,12 @@ Did you forget to run "shorebird init"?''',
|
||||
final pubspecVersion = pubspecYaml.version!;
|
||||
final pubspecVersionString =
|
||||
'''${pubspecVersion.major}.${pubspecVersion.minor}.${pubspecVersion.patch}''';
|
||||
|
||||
if (releaseVersionArg == null) logger.info('');
|
||||
|
||||
final releaseVersion = releaseVersionArg ??
|
||||
logger.prompt(
|
||||
'\nWhat is the version of this release?',
|
||||
'What is the version of this release?',
|
||||
defaultValue: pubspecVersionString,
|
||||
);
|
||||
final arch = results['arch'] as String;
|
||||
|
||||
Reference in New Issue
Block a user