fix(build): skip versioned json git scan outside worktree
Some checks are pending
sf self-deploy / build, test, and publish server image (push) Waiting to run
sf self-deploy / upgrade vega source server (push) Blocked by required conditions
sf self-deploy / deploy test and probe (push) Blocked by required conditions
sf self-deploy / promote prod (push) Blocked by required conditions
Some checks are pending
sf self-deploy / build, test, and publish server image (push) Waiting to run
sf self-deploy / upgrade vega source server (push) Blocked by required conditions
sf self-deploy / deploy test and probe (push) Blocked by required conditions
sf self-deploy / promote prod (push) Blocked by required conditions
This commit is contained in:
parent
565cd1069a
commit
7889cfe074
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ const CONTRACT_EXACT_PATHS = new Set([
|
|||
const CONTRACT_PREFIXES = ["src/resources/extensions/sf/learning/data/"];
|
||||
|
||||
function trackedJsonFiles() {
|
||||
if (!existsSync(".git")) return [];
|
||||
try {
|
||||
const out = execFileSync("git", ["ls-files", "*.json"], {
|
||||
encoding: "utf8",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue