gulp-scss-lint配置显示错误:bluebird / js / release / promise.js

时间:2019-05-13 10:23:36

标签: node.js gulp gulp-sass

在我的代码中:

linter = require('gulp-scss-lint')

const linterOptions = application.config().scss.linting;
linterOptions.config = application.path(linterOptions.config);


return gulp.src(application.path(application.config().scss.source))
        .pipe(linter(linterOptions))

因此,当我使用.pipe(linter(linterOptions))时,它将在控制台中显示如下错误。

[15:44:08] Starting 'scss'...
(node:24070) Warning: a promise was created in a handler at var/www/html/freewheel_integration/madison-limited/node_modules/gulp-scss-lint/src/index.js:30:18 but was not returned from it
    at new Promise (/var/www/html/freewheel_integration/madison-limited/node_modules/bluebird/js/release/promise.js:79:10)
[15:44:09] Finished 'scss' after 471 ms

0 个答案:

没有答案