{"action":"opened","issue":{"url":"https://api.github.com/repos/wpfpizicai/gulp-md5-plus/issues/13","repository_url":"https://api.github.com/repos/wpfpizicai/gulp-md5-plus","labels_url":"https://api.github.com/repos/wpfpizicai/gulp-md5-plus/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/wpfpizicai/gulp-md5-plus/issues/13/comments","events_url":"https://api.github.com/repos/wpfpizicai/gulp-md5-plus/issues/13/events","html_url":"https://github.com/wpfpizicai/gulp-md5-plus/issues/13","id":178884057,"number":13,"title":"Option 'dirLevel' has a bug with Windows","user":{"login":"rdshoep","id":7840715,"avatar_url":"https://avatars.githubusercontent.com/u/7840715?v=3","gravatar_id":"","url":"https://api.github.com/users/rdshoep","html_url":"https://github.com/rdshoep","followers_url":"https://api.github.com/users/rdshoep/followers","following_url":"https://api.github.com/users/rdshoep/following{/other_user}","gists_url":"https://api.github.com/users/rdshoep/gists{/gist_id}","starred_url":"https://api.github.com/users/rdshoep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdshoep/subscriptions","organizations_url":"https://api.github.com/users/rdshoep/orgs","repos_url":"https://api.github.com/users/rdshoep/repos","events_url":"https://api.github.com/users/rdshoep/events{/privacy}","received_events_url":"https://api.github.com/users/rdshoep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T13:55:19Z","updated_at":"2016-09-23T13:55:19Z","closed_at":null,"body":"I hava some files like this:\r\n```\r\nbuild/css/main.min.css\r\nbuild/js/app.min.js\r\n```\r\n\r\nthen I put them in html files:\r\n```\r\n<link href=\"//cdn.bootcss.com/css/main.min.css\" rel=\"stylesheet\">\r\n<link href=\"/css/main.min.css\" rel=\"stylesheet\">\r\n<script src=\"/js/app.min.js\" type=\"text/javascript\"></script>\r\n```\r\n\r\nI want replace `app.min.js` and `main.min.css`, so I set `option.dirLevel = 1`.\r\nIt works fine in Mac and other Linux platform, but it's broken in Windows.\r\n\r\nI take some logs, then I found the secrect.\r\nMac & Linux:\r\n    use `js/app.min.js` to replace\r\nWindows:\r\n    use `js\\app.min.js` to replace\r\n\r\n\r\nSo, how to resolve? add a option `sep` to replace?\r\n"}}
{"actor":{"display_login":"rdshoep"}}