We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7aca0 commit 066ff96Copy full SHA for 066ff96
app/lib/package/backend.dart
@@ -1165,8 +1165,9 @@ class PackageBackend {
1165
// We need to decrease the remaining version count as the newly uploaded
1166
// version is not yet in it.
1167
final limitAfterUpload = remainingVersionCount - 1;
1168
+ final s = limitAfterUpload == 1 ? '' : 's';
1169
uploadMessages.add(
- 'The package "${package!.name!}" has $limitAfterUpload versions left '
1170
+ 'The package "${package!.name!}" has $limitAfterUpload version$s left '
1171
'before reaching the limit of $maxVersionCount. '
1172
'Please contact [email protected]');
1173
}
0 commit comments