Skip to content

Commit e4a6179

Browse files
committed
fix(update-deps): use utils object
1 parent 621ed88 commit e4a6179

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

actions/unjs/update-deps.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineAction } from "codeup";
22
import type { PackageJson } from "pkg-types";
3-
import { updatePackageJSON } from "../../src/utils/pkg";
43

54
export default defineAction({
65
meta: {
@@ -10,7 +9,7 @@ export default defineAction({
109
},
1110
async apply({ utils }) {
1211
await utils.runPackageManagerCommand("upgrade");
13-
await updatePackageJSON(async (pkg) => {
12+
await utils.updatePackageJSON(async (pkg) => {
1413
if (pkg.devDependencies) {
1514
await Promise.allSettled(
1615
Object.keys(pkg.devDependencies).map(async (name) => {

0 commit comments

Comments
 (0)