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 012d3b9 commit 789ea8bCopy full SHA for 789ea8b
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