GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 09969e...e7c062 )
by
unknown
02:43 queued 02:40
created

gulp/tasks/sass.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 25
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
nc 1
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 2
mnd 0
bc 2
fnc 2
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A module.exports 0 23 1
1
'use strict';
2
3
module.exports = function (gulp, paths, plugins, options, srcFile, distFile) {
4
    return function () {
5
        return gulp.src(paths.SRC_PATH + srcFile)
6
            .pipe(plugins.plumber())
7
            .pipe(plugins.if(!options.production, plugins.sourcemaps.init()))
8
            .pipe(plugins.sass({
9
                includePaths: ['styles'].concat(plugins.neat)
10
            }))
11
            .on('error', plugins.interceptErrors)
12
            .pipe(plugins.autoprefixer({
13
                browsers: ['last 2 versions', 'Explorer >= 10', 'Android >= 4.1', 'Safari >= 7', 'iOS >= 7'],
14
                cascade: false
15
            }))
16
            .pipe(plugins.if(options.production, plugins.cleanCss({compatibility: 'ie8'})))
17
            .pipe(plugins.if(!options.production, plugins.sourcemaps.write('./')))
18
            .pipe(gulp.dest(paths.DIST_PATH + distFile))
19
            .pipe(plugins.browserSync.stream({match: '**/*.css'}))
20
            .pipe(plugins.if(
21
                options.notifications,
22
                plugins.notify({message: 'Sass task complete'}))
23
            )
24
    }
25
};