Skip to content

Commit 57c0703

Browse files
committed
attempt to fix hardcoded path in media_hunter call
1 parent b54387a commit 57c0703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/ui_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function buildFrontEnd(patternlab) {
355355
patternlab.patterns = sortPatterns(patternlab.patterns);
356356

357357
//find mediaQueries
358-
media_hunter.find_media_queries('./source/css', patternlab);
358+
media_hunter.find_media_queries(path.resolve(paths.source.css), patternlab);
359359

360360
// check if patterns are excluded, if not add them to styleguidePatterns
361361
styleguidePatterns = assembleStyleguidePatterns(patternlab);

0 commit comments

Comments
 (0)