Skip to content

Commit

Permalink
Made git config CI only
Browse files Browse the repository at this point in the history
  • Loading branch information
CEbbinghaus committed Dec 20, 2024
1 parent bf5875e commit 116cdb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ async function importJson(file) {
return (await import(file, { with: { type: "json" } })).default;
}

runCommand("git config --global --add safe.directory .");

if (env["CI"]) {
Logger.Log("Running CI related setup");
runCommand("git config --global --add safe.directory /plugin");
}
if (!quiet)
Logger.Log(`Building plugin ${PluginName}@${Version}`);

Expand Down

0 comments on commit 116cdb5

Please sign in to comment.