Skip to content

Commit

Permalink
fs -> node:fs
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Aug 29, 2024
1 parent 7649a90 commit 7a20fb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions packages/cli/src/copy-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
import { findUp } from "@rnx-kit/tools-node/path";
import type { AllPlatforms } from "@rnx-kit/tools-react-native";
import { parsePlatform } from "@rnx-kit/tools-react-native";
import type { SpawnSyncOptions } from "child_process";
import { spawnSync } from "child_process";
import * as nodefs from "fs";
import * as os from "os";
import * as path from "path";
import type { SpawnSyncOptions } from "node:child_process";
import { spawnSync } from "node:child_process";
import * as nodefs from "node:fs";
import * as os from "node:os";
import * as path from "node:path";
import { ensureDir } from "./helpers/filesystem";

export type AndroidArchive = {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/test/copy-assets/assembleAarBundle.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { mockFS } from "@rnx-kit/tools-filesystem/mocks";
import * as child_process from "child_process";
import * as child_process from "node:child_process";
import * as path from "node:path";
import { assembleAarBundle } from "../../src/copy-assets";

jest.mock("child_process");
jest.mock("node:child_process");
jest.unmock("@rnx-kit/console");

describe("copy-assets/assembleAarBundle()", () => {
Expand Down

0 comments on commit 7a20fb5

Please sign in to comment.