Skip to content

Exception when git message commit contains " char #12

Open
@kulak-at

Description

@kulak-at

When git commit contains " character throws error:

"Msg "xxx".",
     ^
SyntaxError: Unexpected token s
    at Object.parse (native)
    at /Users/xx/xx/xx/node_modules/git-rev/index.js:25:17
    at /Users/xx/xx/xx/node_modules/git-rev/index.js:5:5
    at ChildProcess.exithandler (child_process.js:646:7)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Socket.<anonymous> (child_process.js:969:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions