catdad/is-gzip-stream

View on GitHub

Showing 1 of 1 total issue

Function isGzippedStream has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function isGzippedStream(fromStream, callback) {

    var isStream = !!fromStream &&  
        // duck type the thing, to support stream-like objects
        // like through streams
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language