Skip to content

Commit 63cfdb1

Browse files
revert compile manager's change
1 parent 9fd962f commit 63cfdb1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/devextreme-themebuilder/src/modules/compile-manager.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ export default class CompileManager {
8181
};
8282
} catch (e) {
8383
const { span, message } = e as sass.Exception;
84-
85-
if (!span) {
86-
throw new Error(`Compilation failed.\nbundle: ${bundleOptions.file},\n${message}`);
87-
}
88-
8984
const { url, start } = span;
9085
const { line, column } = start;
9186
throw new Error(`Compilation failed.\nbundle: ${bundleOptions.file},\nfile: ${url}:${line}:${column},\n${message}`);

0 commit comments

Comments
 (0)