Closed Bug 1246591 Opened 8 years ago Closed 8 years ago

Make browser/components/migration eslintable

Categories

(Firefox :: Migration, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(3 files)

      No description provided.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #8716908 - Flags: review?(MattN+bmo) → review+
Comment on attachment 8716908 [details]
MozReview Request: Bug 1246591 - fix whitespace issues, r?MattN

https://reviewboard.mozilla.org/r/33979/#review30721
Comment on attachment 8716909 [details]
MozReview Request: Bug 1246591 - remove preprocessing and fix any other issues, r?MattN

https://reviewboard.mozilla.org/r/33981/#review30725

::: browser/components/migration/MigrationUtils.jsm:672
(Diff revision 1)
> -      try {
> -        this.migrators.next();
> -      }
> -      catch(ex) {
> +      // Note that we don't need to check the default browser first, because
> +      // if that one existed we would have used it in the block above this one.
> +      if (!gAvailableMigratorKeys.some(key => !!this.getMigrator(key))) {
> +        // None of the keys produced a usable migrator, so finish up here:

Nice catch on the simplification :)
Attachment #8716909 - Flags: review?(MattN+bmo) → review+
Comment on attachment 8716910 [details]
MozReview Request: Bug 1246591 - fix moz.build file and .eslintignore, r?MattN

https://reviewboard.mozilla.org/r/33983/#review30737
Attachment #8716910 - Flags: review?(MattN+bmo) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: