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 7d32876 commit 437a832Copy full SHA for 437a832
javascript/ql/lib/semmle/javascript/Stmt.qll
@@ -447,7 +447,7 @@ module Directive {
447
* ```
448
*/
449
class UseCacheDirective extends KnownDirective {
450
- UseCacheDirective() { this.getDirectiveText().regexpMatch("use cache(: (remote|private))?") }
+ UseCacheDirective() { this.getDirectiveText().regexpMatch("use cache(:.*)?") }
451
}
452
453
0 commit comments