Skip to content

[BUG] Failed to commit #16

@IanSkelskey

Description

@IanSkelskey

evergit version

0.1.4

Node version

22.12.0

Bug description

Failed to commit

Steps to reproduce

No response

Expected behavior

No response

Additional context

evergit commit -a
Committing changes to branch main
? Is this commit related to a Launchpad bug? No
Commit message:
Hello Ian! How can I assist you today? Are you looking to draft a commit message for the Evergreen ILS project? If so, please provide details about the changes you've made, and I'll help you put together a message.
? Do you want to commit with this message? Yes
node:internal/errors:983
  const err = new Error(message);
              ^

Error: Command failed: git commit -F "C:\Users\iansk\AppData\Local\Temp\commit-message.txt"
    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at checkExecSyncError (node:child_process:882:11)
    at execSync (node:child_process:954:15)
    at commitWithMessage (C:\Users\iansk\AppData\Roaming\nvm\v22.12.0\node_modules\evergit\dist\util\git.js:158:34)
    at C:\Users\iansk\AppData\Roaming\nvm\v22.12.0\node_modules\evergit\dist\cmd\commit.js:76:37
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\iansk\AppData\Roaming\nvm\v22.12.0\node_modules\evergit\dist\cmd\commit.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  status: 1,
  signal: null,
  output: [
    null,
    Buffer(237) [Uint8Array] [
       79, 110,  32,  98, 114,  97, 110,  99, 104,  32, 109,  97,
      105, 110,  10,  89, 111, 117, 114,  32,  98, 114,  97, 110,
       99, 104,  32, 105, 115,  32, 117, 112,  32, 116, 111,  32,
      100,  97, 116, 101,  32, 119, 105, 116, 104,  32,  39, 111,
      114, 105, 103, 105, 110,  47, 109,  97, 105, 110,  39,  46,
       10,  10,  85, 110, 116, 114,  97,  99, 107, 101, 100,  32,
      102, 105, 108, 101, 115,  58,  10,  32,  32,  40, 117, 115,
      101,  32,  34, 103, 105, 116,  32,  97, 100, 100,  32,  60,
      102, 105, 108, 101,
      ... 137 more items
    ],
    Buffer(0) [Uint8Array] []
  ],
  pid: 35744,
  stdout: Buffer(237) [Uint8Array] [
     79, 110,  32,  98, 114,  97, 110,  99, 104,  32, 109,  97,
    105, 110,  10,  89, 111, 117, 114,  32,  98, 114,  97, 110,
     99, 104,  32, 105, 115,  32, 117, 112,  32, 116, 111,  32,
    100,  97, 116, 101,  32, 119, 105, 116, 104,  32,  39, 111,
    114, 105, 103, 105, 110,  47, 109,  97, 105, 110,  39,  46,
     10,  10,  85, 110, 116, 114,  97,  99, 107, 101, 100,  32,
    102, 105, 108, 101, 115,  58,  10,  32,  32,  40, 117, 115,
    101,  32,  34, 103, 105, 116,  32,  97, 100, 100,  32,  60,
    102, 105, 108, 101,
    ... 137 more items
  ],
  stderr: Buffer(0) [Uint8Array] []
}

Node.js v22.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions