MCPcopy
hub / github.com/CodeboxIDE/codebox / finish

Function finish

core/cb.addons/require-tools/less/lessc.js:552–565  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

550 }
551
552 var finish = function (e) {
553 e = error || e || parser.imports.error;
554
555 if (e) {
556 if (!(e instanceof LessError)) {
557 e = new(LessError)(e, env);
558 }
559
560 return callback(e);
561 }
562 else {
563 return callback(null, root);
564 }
565 };
566
567 if (env.processImports !== false) {
568 new tree.importVisitor(this.imports, finish)

Callers 1

lessc.jsFile · 0.85

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected