Skip to content

Commit c220163

Browse files
committed
Fix(tools): Use ASSET_SRC parameter from SeedConfig instead of reconstructing it
1 parent a85e018 commit c220163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/tasks/seed/css-lint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as stylelint from 'stylelint';
66
import * as doiuse from 'doiuse';
77
import * as colorguard from 'colorguard';
88
import {join} from 'path';
9-
import {APP_SRC, APP_ASSETS, BROWSER_LIST, ENV} from '../../config';
9+
import {APP_SRC, APP_ASSETS, ASSETS_SRC, BROWSER_LIST, ENV} from '../../config';
1010
const plugins = <any>gulpLoadPlugins();
1111

1212
const isProd = ENV === 'prod';
@@ -23,7 +23,7 @@ const processors = [
2323
function lintComponentCss() {
2424
return gulp.src([
2525
join(APP_SRC, '**', '*.css'),
26-
'!' + join(APP_SRC, 'assets', '**', '*.css')
26+
'!' + join(ASSETS_SRC, '**', '*.css')
2727
])
2828
.pipe(isProd ? plugins.cached('css-lint') : plugins.util.noop())
2929
.pipe(plugins.postcss(processors));

0 commit comments

Comments
 (0)