We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f0459 commit 87d7224Copy full SHA for 87d7224
1 file changed
bridge/src/handlers/projectHandlers.ts
@@ -221,7 +221,10 @@ export class ProjectHandlers {
221
222
// Commit to Git if tracking
223
try {
224
- await gitServiceInstance.syncSchemaFile(projectId);
+ const projectDir = await projectStoreInstance.resolveProjectDir(projectId);
225
+ if (projectDir) {
226
+ await gitServiceInstance.syncSchemaFile(projectDir);
227
+ }
228
} catch (gitErr) {
229
this.logger?.warn({ err: gitErr }, "Failed to auto-commit schema.json to Git");
230
}
0 commit comments