Fix build script (#10491)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-03-09 13:02:12 +08:00
1 parent 7e37aa7ce8
commit d8dd82d80d
1 file changed
+4 -1
+4 -1
View File
@@ -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 */