mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-28 09:18:27 +00:00
api/stream: stfu deepsource
This commit is contained in:
parent
06c348126e
commit
78d0670f50
|
@ -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.`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue