Skip to content

Commit 9817560

Browse files
committed
fix: actions.lock.json -> actions-lock.json
1 parent 98fc961 commit 9817560

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/cli/install.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import * as path from "node:path";
1111
function action(name, params) {
1212
const githubDir = path.resolve(process.cwd(), ".github");
1313
const actionsJsonPath = path.resolve(githubDir, "actions.json");
14-
const actionsLockJsonPath = path.resolve(githubDir, "actions.lock.json");
14+
const actionsLockJsonPath = path.resolve(githubDir, "actions-lock.json");
1515
const actionsJson = JSON.parse(fs.readFileSync(actionsJsonPath, "utf8"));
1616
const actionsLockJson = JSON.parse(fs.readFileSync(actionsLockJsonPath, "utf8"));
1717
@@ -45,7 +45,7 @@ export type InstalledActionParams<T extends InstalledAction> = Omit<
4545
`,
4646
];
4747

48-
// TODO: load existing actions.json and actions.lock.json
48+
// TODO: load existing actions.json and actions-lock.json
4949
const actionsJson: Record<string, string> = {};
5050
const actionsLockJson: { actions: Record<string, string> } = { actions: {} };
5151

@@ -83,7 +83,7 @@ export type InstalledActionParams<T extends InstalledAction> = Omit<
8383
JSON.stringify(actionsJson, null, 2),
8484
);
8585
fs.writeFileSync(
86-
path.resolve(process.cwd(), ".github/actions.lock.json"),
86+
path.resolve(process.cwd(), ".github/actions-lock.json"),
8787
JSON.stringify(actionsLockJson, null, 2),
8888
);
8989

0 commit comments

Comments
 (0)