Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

[windows] if parameter --label is not included, command does not work #95

@Lautenschlager-id

Description

@Lautenschlager-id

When trying to execute git pr without --label I get

←[01;31mUnable to send pull request←[0m
Traceback (most recent call last):
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 745, in main
    labels=args.label,
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 341, in git_pull_request
    fork, setup_only, branch_prefix, dry_run, labels,
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 544, in fork_and_push_pull_reque
st
    ptitle, body = edit_title_and_message(ptitle, body)
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 419, in edit_title_and_message
    content = edit_file_get_content_and_remove(bodyfilename)
  File "c:\users\lautenschlager\appdata\local\programs\python\python36-32\lib\si
te-packages\git_pull_request\__init__.py", line 388, in edit_file_get_content_an
d_remove
    raise RuntimeError("Editor exited with status code %d" % status)
RuntimeError: Editor exited with status code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions