Skip to content

Commit b6704cf

Browse files
committed
wip
1 parent 58e6cbc commit b6704cf

File tree

1 file changed

+1
-3
lines changed
  • packages/browser/src/core/arguments-resolver

1 file changed

+1
-3
lines changed

packages/browser/src/core/arguments-resolver/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export function resolvePageArguments(
9898
if (argIdx === 0) {
9999
resolvedProperties = obj
100100
}
101+
101102
if (argIdx === 1 || argIdx == 2) {
102103
if (isNil(resolvedProperties)) {
103104
resolvedProperties = obj
@@ -106,15 +107,12 @@ export function resolvePageArguments(
106107
}
107108
}
108109

109-
// if it's the third argument and it's an object, it's always properties
110110
if (argIdx === 3) {
111111
resolvedOptions = obj
112112
}
113113
}
114114
})
115115

116-
// if there is an object and it's the fourth argument, it's options
117-
118116
return [
119117
resolvedCategory,
120118
resolvedName,

0 commit comments

Comments
 (0)