{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/1619","repository_url":"https://api.github.com/repos/sass/node-sass","labels_url":"https://api.github.com/repos/sass/node-sass/issues/1619/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/1619/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/1619/events","html_url":"https://github.com/sass/node-sass/issues/1619","id":163469052,"number":1619,"title":"Singleline comment in import error","user":{"login":"roydukkey","id":1509616,"avatar_url":"https://avatars.githubusercontent.com/u/1509616?v=3","gravatar_id":"","url":"https://api.github.com/users/roydukkey","html_url":"https://github.com/roydukkey","followers_url":"https://api.github.com/users/roydukkey/followers","following_url":"https://api.github.com/users/roydukkey/following{/other_user}","gists_url":"https://api.github.com/users/roydukkey/gists{/gist_id}","starred_url":"https://api.github.com/users/roydukkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roydukkey/subscriptions","organizations_url":"https://api.github.com/users/roydukkey/orgs","repos_url":"https://api.github.com/users/roydukkey/repos","events_url":"https://api.github.com/users/roydukkey/events{/privacy}","received_events_url":"https://api.github.com/users/roydukkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-01T20:30:30Z","updated_at":"2016-07-01T20:30:30Z","closed_at":null,"body":"Using gulp-sass in the following way is causing an error with single line comments in imports:\r\n\r\n```javascript\r\ngulp.task('build:sass', function () {\r\n\treturn gulp.src('./wwwroot/theme/**/*.sass', { base: './' })\r\n\t\t.pipe(sass({\r\n\t\t\tprecision: 6,\r\n\t\t\tsourceMap: true,\r\n\t\t\tincludePaths: [\r\n\t\t\t\t'./wwwroot/css',\r\n\t\t\t\t'./wwwroot/lib'\r\n\t\t\t]\r\n\t\t}).on('error', sass.logError))\r\n\t\t.pipe(gulp.dest('./'));\r\n});\r\n```\r\n\r\n#### test.sass\r\n\r\n```sass\r\n@import config\r\n\r\n// =================================================== //\r\n// EDIT THIS FILE                                      //\r\n// =================================================== //\r\n\r\n$background: red\r\n\r\nbody\r\n\tbackground: $background\r\n```\r\n\r\n#### _config.sass\r\n\r\n```sass\r\n// =================================================== //\r\n// DO NOT EDIT THIS FILE                               //\r\n// =================================================== //\r\n\r\n$background: black\r\n```\r\n\r\n#### Log\r\n\r\n```\r\n[16:23:02] Using gulpfile C:\\Projects\\ReadySet\\Gulpfile.js\r\n[16:23:02] Starting 'build:sass'...\r\nError in plugin 'sass'\r\nMessage:\r\n    wwwroot\\theme\\_themeTemplate\\css\\_config.sass\r\nError: Invalid CSS after \"﻿\": expected 1 selector or at-rule, was \"{}// ==============\"\r\n        on line 1 of wwwroot/theme/_themeTemplate/css/_config.sass\r\n[16:23:02] Finished 'build:sass' after 42 ms\r\n>> ﻿ {}// =================================================== //\r\n   ^\r\nProcess terminated with code 0.\r\n```\r\n\r\n"}}
{"actor":{"display_login":"roydukkey"}}