I've only changed the names of users and repos to generic one, but while I run this command, I use real username and repo names, and error is below:
Thanks if you can fix this issue.
bundle exec ruby cli.rb githubuser/repo bitbucketuser/repo
cli.rb:1:in `require': ./migration.rb:33: syntax error, unexpected ':', expecting ')' (SyntaxError)
login: @github[:username],
^
./migration.rb:34: syntax error, unexpected ':', expecting '='
password: @github[:password]
^
./migration.rb:35: syntax error, unexpected ')', expecting kEND
./migration.rb:42: odd number list for Hash
@history[@github_repo] = {issue: {}, comment: {}}
^
./migration.rb:42: syntax error, unexpected ':', expecting '}'
@history[@github_repo] = {issue: {}, comment: {}}
^
./migration.rb:54: odd number list for Hash
state: state,
^
./migration.rb:54: syntax error, unexpected ':', expecting '}'
state: state,
^
./migration.rb:55: syntax error, unexpected ':', expecting '='
page: page,
^
./migration.rb:56: syntax error, unexpected ':', expecting '='
direction: 'asc'
^
./migration.rb:57: syntax error, unexpected '}', expecting kEND
})
^
./migration.rb:86: syntax error, unexpected ':', expecting ')'
status: get_issue_status(issue),
^
./migration.rb:86: syntax error, unexpected ',', expecting kEND
./migration.rb:87: syntax error, unexpected ',', expecting kEND
./migration.rb:89: syntax error, unexpected ':', expecting '='
content: content,
^
./migration.rb:90: syntax error, unexpected ':', expecting '='
kind: get_issue_kind(issue),
^
./migration.rb:90: syntax error, unexpected ',', expecting kEND
./migration.rb:92: syntax error, unexpected ')', expecting kEND
./migration.rb:165: odd number list for Hash
content: content
^
./migration.rb:165: syntax error, unexpected ':', expecting '}'
content: content
^
./migration.rb:189: odd number list for Hash
body: attributes,
^
./migration.rb:189: syntax error, unexpected ':', expecting '}'
body: attributes,
^
./migration.rb:190: syntax error, unexpected ':', expecting '='
basic_auth: @bitbucket
^
./migration.rb:193: syntax error, unexpected ':', expecting ')'
body = JSON.parse(response.body, symbolize_names: true)
^
./migration.rb:201: odd number list for Hash
body: attributes,
^
./migration.rb:201: syntax error, unexpected ':', expecting '}'
body: attributes,
^
./migration.rb:202: syntax error, unexpected ':', expecting '='
basic_auth: @bitbucket
^
./migration.rb:205: syntax error, unexpected ':', expecting ')'
body = JSON.parse(response.body, symbolize_names: true)
^
./migration.rb:208: syntax error, unexpected $end, expecting kEND
from cli.rb:1