Index: utils/pub/utils.dart |
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart |
index b3db4e060184d6309a5253172da18ee2c9f0d40e..98cc79b92928642d439c2c3c1405d4ba2c7f7c13 100644 |
--- a/utils/pub/utils.dart |
+++ b/utils/pub/utils.dart |
@@ -119,7 +119,7 @@ bool endsWithPattern(String str, Pattern matcher) { |
* Returns the hex-encoded sha1 hash of [source]. |
*/ |
String sha1(String source) => |
- CryptoUtils.bytesToHex(new SHA1().update(source.charCodes()).digest()); |
+ CryptoUtils.bytesToHex(new SHA1().update(source.charCodes).digest()); |
/** |
* Returns a [Future] that completes in [milliSeconds]. |