{"action":"created","issue":{"url":"https://api.github.com/repos/kucherenko/jscpd/issues/47","repository_url":"https://api.github.com/repos/kucherenko/jscpd","labels_url":"https://api.github.com/repos/kucherenko/jscpd/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/kucherenko/jscpd/issues/47/comments","events_url":"https://api.github.com/repos/kucherenko/jscpd/issues/47/events","html_url":"https://github.com/kucherenko/jscpd/issues/47","id":129227615,"number":47,"title":"Sass comments are not ignored","user":{"login":"kaelig","id":85783,"avatar_url":"https://avatars.githubusercontent.com/u/85783?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelig","html_url":"https://github.com/kaelig","followers_url":"https://api.github.com/users/kaelig/followers","following_url":"https://api.github.com/users/kaelig/following{/other_user}","gists_url":"https://api.github.com/users/kaelig/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelig/subscriptions","organizations_url":"https://api.github.com/users/kaelig/orgs","repos_url":"https://api.github.com/users/kaelig/repos","events_url":"https://api.github.com/users/kaelig/events{/privacy}","received_events_url":"https://api.github.com/users/kaelig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-27T18:23:37Z","updated_at":"2016-04-05T16:32:08Z","closed_at":"2016-04-02T10:12:28Z","body":"Sass silent comments (`//`) are not ignored by jscpd.\r\n\r\n## Steps to reproduce\r\n\r\n### Create two .scss files\r\n\r\n#### `1.scss`\r\n```scss\r\n// Copyright (c) 2015, salesforce.com, inc. All rights reserved.\r\n//\r\n// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\r\n// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\r\n// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\r\n// Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\r\n\r\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nfoo { margin: 0; }\r\n```\r\n\r\n#### `2.scss`\r\n```scss\r\n// Copyright (c) 2015, salesforce.com, inc. All rights reserved.\r\n//\r\n// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\r\n// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\r\n// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\r\n// Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\r\n\r\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nbar { padding: 0; }\r\n```\r\n\r\n### Run jscpd\r\n\r\n```\r\njscpd --files \"*.*\" --languages css --skip-comments\r\n```\r\n\r\n### Expected\r\n\r\n```\r\nFound 0 exact clones with 0 duplicated lines in 0 files\r\n```\r\n\r\n### Actual\r\n```\r\ninfo:    Found 1 exact clones with 7 duplicated lines in 2 files\r\n\r\n\t- 1.scss: 1-8\r\n\t 2.scss: 1-8\r\n```"},"comment":{"url":"https://api.github.com/repos/kucherenko/jscpd/issues/comments/205885362","html_url":"https://github.com/kucherenko/jscpd/issues/47#issuecomment-205885362","issue_url":"https://api.github.com/repos/kucherenko/jscpd/issues/47","id":205885362,"user":{"login":"kaelig","id":85783,"avatar_url":"https://avatars.githubusercontent.com/u/85783?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelig","html_url":"https://github.com/kaelig","followers_url":"https://api.github.com/users/kaelig/followers","following_url":"https://api.github.com/users/kaelig/following{/other_user}","gists_url":"https://api.github.com/users/kaelig/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelig/subscriptions","organizations_url":"https://api.github.com/users/kaelig/orgs","repos_url":"https://api.github.com/users/kaelig/repos","events_url":"https://api.github.com/users/kaelig/events{/privacy}","received_events_url":"https://api.github.com/users/kaelig/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T16:32:08Z","updated_at":"2016-04-05T16:32:08Z","body":"Thank you so much!"}}