Skip to content

Commit 4bf8a92

Browse files
authored
Remove unused field (#2878)
isTravis would only return true on Travis and pub no longer uses Travis.
1 parent 73ad542 commit 4bf8a92

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/src/utils.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ import 'exceptions.dart';
1717
import 'io.dart';
1818
import 'log.dart' as log;
1919

20-
/// Whether Pub is running its own tests under Travis.CI.
21-
final isTravis = Platform.environment['TRAVIS_REPO_SLUG'] == 'dart-lang/pub';
22-
2320
/// A regular expression matching a Dart identifier.
2421
///
2522
/// This also matches a package name, since they must be Dart identifiers.

0 commit comments

Comments
 (0)