{"action":"created","issue":{"url":"https://api.github.com/repos/hparra/gulp-rename/issues/61","repository_url":"https://api.github.com/repos/hparra/gulp-rename","labels_url":"https://api.github.com/repos/hparra/gulp-rename/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/hparra/gulp-rename/issues/61/comments","events_url":"https://api.github.com/repos/hparra/gulp-rename/issues/61/events","html_url":"https://github.com/hparra/gulp-rename/issues/61","id":120998109,"number":61,"title":"How to avoid overriding destination file if rename target already exists","user":{"login":"fedulovivan","id":752105,"avatar_url":"https://avatars.githubusercontent.com/u/752105?v=3","gravatar_id":"","url":"https://api.github.com/users/fedulovivan","html_url":"https://github.com/fedulovivan","followers_url":"https://api.github.com/users/fedulovivan/followers","following_url":"https://api.github.com/users/fedulovivan/following{/other_user}","gists_url":"https://api.github.com/users/fedulovivan/gists{/gist_id}","starred_url":"https://api.github.com/users/fedulovivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedulovivan/subscriptions","organizations_url":"https://api.github.com/users/fedulovivan/orgs","repos_url":"https://api.github.com/users/fedulovivan/repos","events_url":"https://api.github.com/users/fedulovivan/events{/privacy}","received_events_url":"https://api.github.com/users/fedulovivan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-12-08T12:38:58Z","updated_at":"2016-08-08T11:41:33Z","closed_at":"2015-12-09T13:35:16Z","body":"Hello,\r\nis it possible to perform additional check before writing destination file, and omit renaming operation if destination file already exists?\r\n\r\nMy usecase is creating real config files from samples:\r\n```javascript\r\ngulp\r\n  .src(\"config/*.sample\")\r\n  .pipe(rename({extname:\"\"}))\r\n  .pipe(gulp.dest(\"config/\"));\r\n```"},"comment":{"url":"https://api.github.com/repos/hparra/gulp-rename/issues/comments/238211906","html_url":"https://github.com/hparra/gulp-rename/issues/61#issuecomment-238211906","issue_url":"https://api.github.com/repos/hparra/gulp-rename/issues/61","id":238211906,"user":{"login":"dewwwald","id":6582424,"avatar_url":"https://avatars.githubusercontent.com/u/6582424?v=3","gravatar_id":"","url":"https://api.github.com/users/dewwwald","html_url":"https://github.com/dewwwald","followers_url":"https://api.github.com/users/dewwwald/followers","following_url":"https://api.github.com/users/dewwwald/following{/other_user}","gists_url":"https://api.github.com/users/dewwwald/gists{/gist_id}","starred_url":"https://api.github.com/users/dewwwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dewwwald/subscriptions","organizations_url":"https://api.github.com/users/dewwwald/orgs","repos_url":"https://api.github.com/users/dewwwald/repos","events_url":"https://api.github.com/users/dewwwald/events{/privacy}","received_events_url":"https://api.github.com/users/dewwwald/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T11:41:33Z","updated_at":"2016-08-08T11:41:33Z","body":"If you would like to see two solutions check this out.\r\n\r\nhttp://stackoverflow.com/questions/38827441/gulp-write-file-if-none-exist/38828128#38828128"}}
{"actor":{"display_login":"dewwwald"}}