@almadar/workspace 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2373,7 +2373,11 @@ async function openWorkspaceInternal(opts) {
2373
2373
  }
2374
2374
  let git;
2375
2375
  if (!bare && opts.backend !== "memory") {
2376
- git = await ensureGitInit(backend, resolved.workDir);
2376
+ try {
2377
+ git = await ensureGitInit(backend, resolved.workDir);
2378
+ } catch {
2379
+ git = void 0;
2380
+ }
2377
2381
  }
2378
2382
  const service = new WorkspaceServiceImpl({
2379
2383
  workDir: resolved.workDir,