mitchspano / sfdx-scan-pull-request

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax error: "(" unexpected. Syntax error: Unterminated quoted string

walter-barreiro opened this issue · comments

These errors occur when the branch name contains a parenthesis or apostrophe.

Here is more context of the errors
Error: Command failed: git diff destination/main...origin/S-3332-Allow-a-Sprint-to-be-a-single-day-(start-date-=-end-date)-Inhancement > diffBetweenCurrentAndParentBranch.txt
/bin/sh: 1: Syntax error: "(" unexpected

Error: Command failed: git diff destination/main...origin/S-7994-Send-Invoice-doesn't-work-if-there-is-no-Agreement > diffBetweenCurrentAndParentBranch.txt
/bin/sh: 1: Syntax error: Unterminated quoted string

This code is now available in release v0.1.16