@@ -11,7 +11,7 @@ import * as path from "node:path";
1111function 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