mirror of
https://github.com/flutter/packages.git
synced 2025-06-08 04:18:49 +08:00
[tools] fix version check command not working for new packages (#3818)
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:io' as io;
|
||||
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:file/file.dart';
|
||||
@ -121,6 +120,7 @@ class VersionCheckCommand extends PluginCommand {
|
||||
if (masterVersion == null) {
|
||||
print('${indentation}Unable to find pubspec in master. '
|
||||
'Safe to ignore if the project is new.');
|
||||
continue;
|
||||
}
|
||||
|
||||
if (masterVersion == headVersion) {
|
||||
|
Reference in New Issue
Block a user