diff --git a/packages/cli/src/media-use/lib/recipe-store.mjs b/packages/cli/src/media-use/lib/recipe-store.mjs index dc96ce3e8a..228d058b96 100644 --- a/packages/cli/src/media-use/lib/recipe-store.mjs +++ b/packages/cli/src/media-use/lib/recipe-store.mjs @@ -254,10 +254,6 @@ export function readRegularFile(path, noFollow = constants.O_NOFOLLOW ?? 0) { } } -/** - * Writes each named file into `dir` as a new regular file, replacing a link at that name instead - * of following it, and removes a leftover brief skeleton the bundle does not have. - */ /** * The content of the project's own `name`, or undefined when it is missing. Throws when it is a link * or not a regular file, since a received project could link it to a file outside the project. @@ -271,6 +267,10 @@ function readProjectSource(root, name) { return content; } +/** + * Writes each named file into `dir` as a new regular file, replacing a link at that name instead + * of following it, and removes a leftover brief skeleton the bundle does not have. + */ function writeRecipeFiles(dir, files) { mkdirSync(dir, { recursive: true }); for (const [name, content] of Object.entries(files)) replaceFile(join(dir, name), content); diff --git a/skills-manifest.json b/skills-manifest.json index 36dd66ad55..f8a87958f0 100644 --- a/skills-manifest.json +++ b/skills-manifest.json @@ -18,7 +18,7 @@ "files": 13 }, "media-use": { - "hash": "e31a0f67f111ee82", + "hash": "0b24d1016bf8cbef", "files": 131 }, "remotion-to-hyperframes": { diff --git a/skills/media-use/scripts/lib/recipe-store.mjs b/skills/media-use/scripts/lib/recipe-store.mjs index dc96ce3e8a..228d058b96 100644 --- a/skills/media-use/scripts/lib/recipe-store.mjs +++ b/skills/media-use/scripts/lib/recipe-store.mjs @@ -254,10 +254,6 @@ export function readRegularFile(path, noFollow = constants.O_NOFOLLOW ?? 0) { } } -/** - * Writes each named file into `dir` as a new regular file, replacing a link at that name instead - * of following it, and removes a leftover brief skeleton the bundle does not have. - */ /** * The content of the project's own `name`, or undefined when it is missing. Throws when it is a link * or not a regular file, since a received project could link it to a file outside the project. @@ -271,6 +267,10 @@ function readProjectSource(root, name) { return content; } +/** + * Writes each named file into `dir` as a new regular file, replacing a link at that name instead + * of following it, and removes a leftover brief skeleton the bundle does not have. + */ function writeRecipeFiles(dir, files) { mkdirSync(dir, { recursive: true }); for (const [name, content] of Object.entries(files)) replaceFile(join(dir, name), content);