wip
This commit is contained in:
parent
59fc32e3ad
commit
78eea5bee0
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ export function findAtConfigPath(root, result) {
|
|||
throw rule.error('Only `@config` at-rule is allowed per file.')
|
||||
}
|
||||
|
||||
configPath = rule.params.replace(/^['"]|['"]$/, '')
|
||||
configPath = rule.params.replace(/^['"]|['"]$/g, '')
|
||||
rule.remove()
|
||||
|
||||
if (path.isAbsolute(configPath)) {
|
||||
throw rule.error('The `@config` at-rule cannot be used with an absolute path.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue