| Index: utils/pub/utils.dart
|
| diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart
|
| index f7589dae271978f328664f0bb0b77899e9b04475..e03343f56d94682f5d719cf1281de956185c04d4 100644
|
| --- a/utils/pub/utils.dart
|
| +++ b/utils/pub/utils.dart
|
| @@ -141,7 +141,7 @@ bool endsWithPattern(String str, Pattern matcher) {
|
| /// Returns the hex-encoded sha1 hash of [source].
|
| String sha1(String source) {
|
| var sha = new SHA1();
|
| - sha.add(source.charCodes);
|
| + sha.add(source.codeUnits);
|
| return CryptoUtils.bytesToHex(sha.close());
|
| }
|
|
|
|
|