Can not create a PR

Issue #37 new
Mike Norris created an issue

OS: Ubuntu 14.04

root@ip-172-31-25-101:~/registration# ruby -v ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]

root@ip-172-31-25-101:~/registration# stash pull-request master
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::NIL is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::TRUE is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::FALSE is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::Fixnum is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::Bignum is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::TimeoutError is deprecated
error: 751: unexpected token at ''. Use --trace to view backtrace

root@ip-172-31-25-101:~/registration# stash pull-request master --trace
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::NIL is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::TRUE is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::FALSE is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::Fixnum is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::Bignum is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/user_interaction.rb:328: warning: constant ::TimeoutError is deprecated
/root/.rbenv/versions/2.4.2/lib/ruby/2.4.0/json/common.rb:156:in `parse': 751: unexpected token at '' (JSON::ParserError)
    from /root/.rbenv/versions/2.4.2/lib/ruby/2.4.0/json/common.rb:156:in `parse'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/atlassian-stash-0.7.0/lib/atlassian/stash/pull_request.rb:101:in `create_pull_request'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/atlassian-stash-0.7.0/bin/stash:144:in `block (3 levels) in <top (required)>'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/atlassian-stash-0.7.0/lib/atlassian/stash/git.rb:50:in `ensure_within_git!'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/atlassian-stash-0.7.0/bin/stash:142:in `block (2 levels) in <top (required)>'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/command.rb:180:in `call'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/command.rb:155:in `run'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/runner.rb:422:in `run_active_command'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/runner.rb:82:in `run!'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/delegates.rb:8:in `run!'
    from /root/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-4.1.6/lib/commander/import.rb:10:in `block in <top (required)>'

Comments (1)

  1. Log in to comment