Skip to content

Commit

Permalink
csslint is not async
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jan 20, 2025
1 parent dc20164 commit 52c6385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/worker-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let sugarss = null;
/** @namespace WorkerAPI */
Object.assign(COMMANDS, {

async csslint(code, config) {
csslint(code, config) {
importScriptsOnce('parserlib.js', 'csslint.js'); /* global CSSLint */
return CSSLint
.verify(code, config).messages
Expand Down

0 comments on commit 52c6385

Please sign in to comment.