Fix build script (#10491)
This commit is contained in:
1 parent
7e37aa7ce8
commit
d8dd82d80d
1 file changed
+4
-1
@@ -648,7 +648,10 @@ function parseWithParser(parse, text, options) {
|
||||
let result;
|
||||
|
||||
try {
|
||||
result = parse(text);
|
||||
result = parse(text, {
|
||||
// Prevent file access https://github.com/postcss/postcss/blob/4f4e2932fc97e2c117e1a4b15f0272ed551ed59d/lib/previous-map.js#L18
|
||||
map: false,
|
||||
});
|
||||
} catch (error) {
|
||||
const { name, reason, line, column } = error;
|
||||
/* istanbul ignore next */
|
||||
|
||||
Reference in new issue
Block a user