mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-23 01:13:43 +00:00
fix(desktop): use Effect platform subpath imports (#43817)
This commit is contained in:
parent
8b93bc395d
commit
4d22d4e75f
4 changed files with 7 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { describe, expect, test } from "bun:test"
|
||||
import { NodeFileSystem } from "@effect/platform-node"
|
||||
import * as NodeFileSystem from "@effect/platform-node/NodeFileSystem"
|
||||
import { mkdtemp, rm, truncate, writeFile } from "node:fs/promises"
|
||||
import { tmpdir } from "node:os"
|
||||
import { join } from "node:path"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
import { NodeFileSystem, NodePath, NodeRuntime } from "@effect/platform-node"
|
||||
import * as NodeFileSystem from "@effect/platform-node/NodeFileSystem"
|
||||
import * as NodePath from "@effect/platform-node/NodePath"
|
||||
import * as NodeRuntime from "@effect/platform-node/NodeRuntime"
|
||||
import { app } from "electron"
|
||||
import { Effect, Layer } from "effect"
|
||||
import { Ipc } from "./ipc"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { describe, expect, test } from "bun:test"
|
||||
import { NodePath } from "@effect/platform-node"
|
||||
import * as NodePath from "@effect/platform-node/NodePath"
|
||||
import { Effect } from "effect"
|
||||
|
||||
import { isNushell, mergeShellEnv, parseShellEnv, resolveUserShell } from "./shell-env"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { NodeFileSystem, NodePath } from "@effect/platform-node"
|
||||
import * as NodeFileSystem from "@effect/platform-node/NodeFileSystem"
|
||||
import * as NodePath from "@effect/platform-node/NodePath"
|
||||
import { afterEach, describe, expect, test } from "bun:test"
|
||||
import { tmpdir } from "node:os"
|
||||
import { Effect, FileSystem, Layer, Path } from "effect"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue