mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(agents): recognize SCSS filename literals
This commit is contained in:
1 parent
989ba24ecf
commit
46d7f58a6c
2 files changed
+2
-1
No files matched your search
@@ -76,7 +76,7 @@ function isLiteralRepositoryPath(token) {
|
||||
// This applies to user-defined symbols as well as JavaScript globals.
|
||||
if (
|
||||
/^[\p{L}_][\p{L}\p{N}_]*(?:\.[\p{L}_][\p{L}\p{N}_]*)+$/u.test(path) &&
|
||||
!/\.(?:md|mdx|json|jsonc|ya?ml|[cm]?[jt]sx?|html?|[sc]ss|sass|less|toml|xml|txt|sh|py|sql|svg|png|jpe?g|webp|gif|m3u8?|conf|ini|lock)$/iu.test(
|
||||
!/\.(?:md|mdx|json|jsonc|ya?ml|[cm]?[jt]sx?|html?|css|scss|sass|less|toml|xml|txt|sh|py|sql|svg|png|jpe?g|webp|gif|m3u8?|conf|ini|lock)$/iu.test(
|
||||
path
|
||||
)
|
||||
)
|
||||
|
||||
@@ -169,6 +169,7 @@ for (const path of [
|
||||
'lib/definitely-missing.ts',
|
||||
'services/definitely-missing.ts',
|
||||
'electron-builder.json',
|
||||
'missing.scss',
|
||||
'custom.config-format',
|
||||
'.custom-config',
|
||||
'arbitrary/directory',
|
||||
|
||||
Reference in new issue
Block a user