Support Gitea configuration and safe Catalog Studio furniture completion
This commit is contained in:
1 parent
26f071117b
commit
9f791ba284
22 files changed
+1120
-166
No files matched your search
@@ -107,6 +107,7 @@ export async function publishCatalogFiles(options: {
|
||||
remote: string;
|
||||
branch: string;
|
||||
files: CatalogFile[];
|
||||
env?: NodeJS.ProcessEnv;
|
||||
}) {
|
||||
const { checkout, remote, branch, files } = options;
|
||||
const git = async (...args: string[]) => {
|
||||
@@ -114,7 +115,7 @@ export async function publishCatalogFiles(options: {
|
||||
cwd: checkout,
|
||||
timeout: 120_000,
|
||||
maxBuffer: 16 * 1024 * 1024,
|
||||
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
|
||||
env: { ...process.env, ...options.env, GIT_TERMINAL_PROMPT: "0" },
|
||||
});
|
||||
return stdout.trim();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user