This repository was archived by the owner on Mar 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 5757 "max-lines" : [" error" , 400 ],
5858 "max-nested-callbacks" : " error" ,
5959 "max-params" : " error" ,
60- "max-statements" : [" error" , 15 ],
60+ "max-statements" : [" error" , 20 ],
6161 "max-statements-per-line" : " error" ,
6262 "multiline-ternary" : [" error" , " always-multiline" ],
6363 "new-parens" : " error" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " gulp-watch-sass" ,
3- "version" : " 1.3.2 " ,
3+ "version" : " 1.4.0 " ,
44 "description" : " Watches SASS files, adding @import-ing files to the stream" ,
55 "keywords" : [
66 " gulpplugin" ,
Original file line number Diff line number Diff line change @@ -34,6 +34,18 @@ describe("gulp-watch-sass", () => {
3434 console . warn . called . should . be . false ( )
3535 }
3636
37+ it ( "should handle both single and double quotes" , ( ) => {
38+ create ( "a.scss" , "@import 'b.scss';\n@import \"c.scss\";" )
39+ create ( "b.scss" , "div { margin: 0; }" )
40+ create ( "c.scss" , "div { margin: 0; }" )
41+ testChanges ( [
42+ { change : "b.scss" , expect : "a.scss" }
43+ ] )
44+ testChanges ( [
45+ { change : "c.scss" , expect : "a.scss" }
46+ ] )
47+ } )
48+
3749 it ( "should handle SASS files with .scss extension" , ( ) => {
3850 create ( "a.scss" , "@import 'b.scss';" )
3951 create ( "b.scss" , "div { margin: 0; }" )
You can’t perform that action at this time.
0 commit comments