| author | |
| committer | |
| log | 4fb04fe7fae566cc91ab810888b3232f274a00cf |
| tree | f7d3e844392c42aa8f4c44cb3b36c87d16cd4af0 |
| parent | 9ae9f2ba1f30e5fc14f69ba6dff6b08c7bfb401c |
| signature | Signed by PGP key B5690EEEBB952194 |
2 files changed, 3 insertions(+), 2 deletions(-)
apps/desktop/src/preview/Manager.ts+2-1| ... | ... | @@ -2974,7 +2974,8 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function |
| 2974 | 2974 | wc, |
| 2975 | 2975 | ), |
| 2976 | 2976 | ]); |
| 2977 | const id = `browser-screenshot-${artifactSiteSlug(wc.getURL())}-${millis.toString(36)}-${NodeCrypto.randomUUID().slice(0, 8)}`; | |
| 2977 | const uuid = yield* crypto.randomUUIDv4.pipe(Effect.orDie); | |
| 2978 | const id = `browser-screenshot-${artifactSiteSlug(wc.getURL())}-${millis.toString(36)}-${uuid.slice(0, 8)}`; | |
| 2978 | 2979 | const artifactPath = path.join(resolvedArtifactDirectory, `${id}.png`); |
| 2979 | 2980 | const data = image.toPNG(); |
| 2980 | 2981 | yield* fileSystem.makeDirectory(resolvedArtifactDirectory, { recursive: true }).pipe( |
apps/server/src/sourceControl/SourceControlRepositoryService.test.ts+1-1| ... | ... | @@ -331,7 +331,7 @@ it.effect.each(["--bare", "source.git"])( |
| 331 | 331 | }); |
| 332 | 332 | assert.strictEqual(result.cwd, destinationPath); |
| 333 | 333 | assert.isTrue(yield* fs.exists(path.join(destinationPath, ".git"))); |
| 334 | }).pipe(Effect.provide(makeLayer({ git: { execute: git.execute } }))); | |
| 334 | }).pipe(Effect.provide(layer({ git: { execute: git.execute } }))); | |
| 335 | 335 | }).pipe( |
| 336 | 336 | Effect.provide( |
| 337 | 337 | GitVcsDriver.layer.pipe( |