parent
6927fa5d70
commit
c08747202a
|
@ -79,7 +79,7 @@ const linterMan = (() => {
|
||||||
function getCachedAnnotations(code, opt, cm) {
|
function getCachedAnnotations(code, opt, cm) {
|
||||||
const results = cms.get(cm);
|
const results = cms.get(cm);
|
||||||
cms.set(cm, null);
|
cms.set(cm, null);
|
||||||
cm.options.lint.getAnnotations = getAnnotations;
|
cm.state.lint.options.getAnnotations = getAnnotations;
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user