Skip to content

Commit bd29602

Browse files
committed
Import STATUS_OK statically
1 parent a7f58fc commit bd29602

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

browser/components/enterprisepolicies/helpers/SyncPolicy.sys.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ import {
99
PoliciesUtils,
1010
} from "resource:///modules/policies/Policies.sys.mjs";
1111

12-
const SYNC_STATUS_OK = ChromeUtils.importESModule(
13-
"resource://services-sync/constants.sys.mjs"
14-
).STATUS_OK
12+
import { STATUS_OK } from "resource://services-sync/constants.sys.mjs"
1513

14+
const SYNC_STATUS_OK = STATUS_OK;
1615

1716
const lazy = {};
1817
ChromeUtils.defineESModuleGetters(lazy, {

0 commit comments

Comments
 (0)