We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91e439 commit 8558d22Copy full SHA for 8558d22
1 file changed
shared/api/utils/shared_ops_util.js
@@ -718,6 +718,18 @@ export default class SharedOpsUtil extends SharedUtil
718
"text": "use `op.log`, not `console.log` "
719
});
720
721
+ if (code.includes("CABLES.WEBAUDIO"))
722
+ {
723
+ if (!info.coreLibs || !info.coreLibs.includes("webaudio"))
724
725
+ srcWarnings.push({
726
+ "type": "corelibs",
727
+ "id": "missing_webaudio",
728
+ "text": "op uses CABLES.WEBAUDIO, add webaudio corelib"
729
+ });
730
+ }
731
732
+
733
if (code.includes("patch.cgl") || code.includes("CGL."))
734
{
735
if (!info.coreLibs || !info.coreLibs.includes("cgl"))
0 commit comments