Skip to content

Commit cd9ba06

Browse files
committed
fix "set in ..." labels in dub editor again
1 parent 5bc5c53 commit cd9ba06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

html/dubeditor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ function runCommand(/** @type {string} */ command, /** @type {any} */ argument)
3939

4040
/**
4141
* @typedef {Object} AccessType
42-
* @property {boolean} [platform] true if this setting is set with a platform/arch/compiler suffix.
43-
* @property {boolean} [subscope] true if this setting is inside a config or build config.
44-
* @property {string} [desc] Human readable description (suffix)
42+
* @property {boolean} platform true if this setting is set with a platform/arch/compiler suffix.
43+
* @property {boolean} subscope true if this setting is inside a config or build config.
44+
* @property {string} desc Human readable description (suffix)
4545
*/
4646

4747
/**
@@ -755,7 +755,7 @@ function loadJsonIntoUI() {
755755
}));
756756
accessTries.forEach(access => {
757757
if (configPath) return;
758-
let resolved = makePath(setting, path, access[0], access[1]);
758+
let resolved = makePath(setting, path, access.platform, access.subscope);
759759
if (getPath(resolved) !== undefined) {
760760
configPath = resolved;
761761
usedAccess = access;

0 commit comments

Comments
 (0)