File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ class AccountBackend {
582
582
/// Returns the [UserSession] associated with the [sessionId] or
583
583
/// `null` if it does not exists.
584
584
///
585
- /// Deletes the session entry if is has already expired and
585
+ /// Deletes the session entry if it has already expired and
586
586
/// clears the related cache too.
587
587
Future <UserSession ?> lookupValidUserSession (String sessionId) async {
588
588
final key = _db.emptyKey.append (UserSession , id: sessionId);
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class RequestContext {
38
38
/// The parsed experimental flags.
39
39
final ExperimentalFlags experimentalFlags;
40
40
41
- /// The CSRF token recieved via the header of the request.
41
+ /// The CSRF token received via the header of the request.
42
42
final String ? csrfToken;
43
43
44
44
final SessionData ? sessionData;
Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ class PackageBackend {
815
815
throw PackageRejectedException .uploadRestricted ();
816
816
}
817
817
_logger.info ('Starting async upload.' );
818
- // NOTE: We use a authenticated user scope here to ensure the uploading
818
+ // NOTE: We use an authenticated user scope here to ensure the uploading
819
819
// user is authenticated. But we're not validating anything at this point
820
820
// because we don't even know which package or version is going to be
821
821
// uploaded.
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ class PackageRejectedException extends ResponseException {
269
269
: super ._(400 , 'PackageRejected' ,
270
270
'Version $version of package $package was deleted previously, re-upload is not allowed.' );
271
271
272
- /// The package is has an active `isBlocked` flag, no further version is allowed.
272
+ /// The package has an active `isBlocked` flag, no further version is allowed.
273
273
PackageRejectedException .isBlocked ()
274
274
: super ._(400 , 'PackageRejected' , 'Package has been blocked.' );
275
275
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ class BlobIndex {
289
289
}
290
290
final blobId = r.expectString ();
291
291
292
- // Expect a index key
292
+ // Expect an index key
293
293
if (! _skipUntilKey (r, 'index' )) {
294
294
throw const FormatException ('expected "index" key' );
295
295
}
@@ -328,7 +328,7 @@ class BlobIndex {
328
328
}
329
329
final blobId = r.expectString ();
330
330
331
- // Expect a index key
331
+ // Expect an index key
332
332
if (! _skipUntilKey (r, 'index' )) {
333
333
throw const FormatException ('expected "index" key' );
334
334
}
@@ -372,7 +372,7 @@ class BlobIndex {
372
372
}
373
373
final originalBlobId = r.expectString ();
374
374
375
- // Expect a index key
375
+ // Expect an index key
376
376
if (! _skipUntilKey (r, 'index' )) {
377
377
throw const FormatException ('expected "index" key' );
378
378
}
You can’t perform that action at this time.
0 commit comments