Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit c801515

Browse files
committed
Fix web-ext lint error
1 parent fa723eb commit c801515

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

js/preferences.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
globals.Gmrle = globals.Gmrle || {};
55

66
globals.Gmrle.PreferencesManager = class {
7-
defaults = {
8-
enable_buttons_to_copy_source_and_target_branches_name: true
9-
};
7+
get defaults() {
8+
return {
9+
enable_buttons_to_copy_source_and_target_branches_name: true
10+
};
11+
}
1012

1113
/**
1214
* This class holds all the logic related to user preferences persistance.

0 commit comments

Comments
 (0)