De-mystify compound logic

This commit is contained in:
Kyle Shockey
2017-03-19 18:23:56 -07:00
parent 62be80741e
commit c5222153d0

View File

@@ -95,7 +95,7 @@ module.exports = function SwaggerUI(opts) {
return system return system
} }
if (!system.specActions.getConfigByUrl || system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec)) { if (!system.specActions.getConfigByUrl || (system.specActions.getConfigByUrl && !system.specActions.getConfigByUrl(downloadSpec))) {
return downloadSpec(constructorConfig) return downloadSpec(constructorConfig)
} }