summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/spawnWrapper.ts
diff options
context:
space:
mode:
authorGal Zahavi <[email protected]>2025-08-01 20:17:32 -0700
committerGitHub <[email protected]>2025-08-02 03:17:32 +0000
commit820169ba2e0777ee2bee240f063649cc4b2b107f (patch)
tree1c8e6105512f0fc417442fb6ba27637b744ee739 /packages/cli/src/utils/spawnWrapper.ts
parent15a1f1af9d0e4628e9e82f81d384d614899770e3 (diff)
feat(autoupdate): Improve update check and refactor for testability (#5389)
Diffstat (limited to 'packages/cli/src/utils/spawnWrapper.ts')
-rw-r--r--packages/cli/src/utils/spawnWrapper.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/cli/src/utils/spawnWrapper.ts b/packages/cli/src/utils/spawnWrapper.ts
new file mode 100644
index 00000000..3f3cca94
--- /dev/null
+++ b/packages/cli/src/utils/spawnWrapper.ts
@@ -0,0 +1,9 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { spawn } from 'child_process';
+
+export const spawnWrapper = spawn;