Skip to content

Commit 312e236

Browse files
committed
fix conflict between csslint and opal
1 parent 2007f6e commit 312e236

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gulp.d/tasks/build-preview-pages.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
'use strict'
22

3+
// NOTE remove patch after upgrading from asciidoctor.js to @asciidoctor/core
4+
Error.call = (self, ...args) => {
5+
const err = new Error(...args)
6+
return Object.assign(self, { message: err.message, stack: err.stack })
7+
}
8+
39
const asciidoctor = require('asciidoctor.js')()
410
const fs = require('fs-extra')
511
const handlebars = require('handlebars')

0 commit comments

Comments
 (0)