Skip to content

Commit

Permalink
api/stream: stfu deepsource
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Dec 17, 2024
1 parent 3670f73 commit 8b7c61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/stream/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const convertMetadataToFFmpeg = (metadata) => {

for (const [ name, value ] of Object.entries(metadata)) {
if (metadataTags.includes(name)) {
args.push('-metadata', `${name}=${value.replace(/[\u0000-\u0009]/g, "")}`);
args.push('-metadata', `${name}=${value.replace(/[\u0000-\u0009]/g, "")}`); // skipcq: JS-0004
} else {
throw `${name} metadata tag is not supported.`;
}
Expand Down

0 comments on commit 8b7c61a

Please sign in to comment.