Skip to content

Commit c522215

Browse files
committed
De-mystify compound logic
1 parent 62be807 commit c522215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = function SwaggerUI(opts) {
9595
return system
9696
}
9797

98-
if (!system.specActions.getConfigByUrl || system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec)) {
98+
if (!system.specActions.getConfigByUrl || (system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec))) {
9999
return downloadSpec(constructorConfig)
100100
}
101101

0 commit comments

Comments
 (0)