Showing 193 of 258 total issues
Avoid too many return
statements within this function. Open
Open
return 'Skipping stringify, no support for dom-serialize'
Avoid too many return
statements within this function. Open
Open
return filesPromise.then((files) => {
common.setNoCacheHeaders(response)
response.writeHead(200)
response.end(JSON.stringify({
files: files.included.map((file) => filePathToUrlPath(file.path + '?' + file.sha, basePath, urlRoot, proxyPath))
Avoid too many return
statements within this function. Open
Open
return obj.toString() + '\n' + obj.stack
Avoid too many return
statements within this function. Open
Open
return obj.outerHTML
Avoid too many return
statements within this function. Open
Open
return serveStaticFile(requestUrl, requestedRangeHeader, response)
Avoid too many return
statements within this function. Open
Open
return filesPromise.then((files) => {
let fileServer
let requestedFileUrl
log.debug('custom files', customContextFile, customDebugFile, customClientContextFile)
if (isRequestingContextFile && customContextFile) {
Avoid too many return
statements within this function. Open
Open
return 200 // All other states, ignore
Avoid too many return
statements within this function. Open
Open
return obj.toString()
Avoid too many return
statements within this function. Open
Open
return '<!--' + obj.nodeValue + '-->'
Avoid too many return
statements within this function. Open
Open
return '<!--' + obj.nodeValue + '-->'
Avoid too many return
statements within this function. Open
Open
return 'Skipping stringify, no support for dom-serialize'
Avoid too many return
statements within this function. Open
Open
return serialize(obj)
Avoid too many return
statements within this function. Open
Open
return 'Skipping stringify, no support for dom-serialize'
Avoid too many return
statements within this function. Open
Open
return serialize(obj)
Avoid too many return
statements within this function. Open
Open
return results.failed ? 1 : 0
Avoid too many return
statements within this function. Open
Open
return strs.join('')
Avoid too many return
statements within this function. Open
Open
return '<!--' + obj.nodeValue + '-->'
Avoid too many return
statements within this function. Open
Open
return obj.toString() + '\n' + obj.stack
Avoid too many return
statements within this function. Open
Open
return obj.nodeValue
Avoid too many return
statements within this function. Open
Open
return 0 // Tests executed without infrastructure error, exit with 0 independent of test status.