Commit eeafa8ac authored by Mike Greiling's avatar Mike Greiling

fix eslint violation

parent 1edf0a8a
import { editor as monacoEditor, Uri as monacoUri } from 'monaco-editor'; import { editor as monacoEditor, Uri } from 'monaco-editor';
import Disposable from './disposable'; import Disposable from './disposable';
import eventHub from '../../eventhub'; import eventHub from '../../eventhub';
...@@ -13,12 +13,12 @@ export default class Model { ...@@ -13,12 +13,12 @@ export default class Model {
(this.originalModel = monacoEditor.createModel( (this.originalModel = monacoEditor.createModel(
head ? head.content : this.file.raw, head ? head.content : this.file.raw,
undefined, undefined,
new monacoUri(false, false, `original/${this.path}`), new Uri(false, false, `original/${this.path}`),
)), )),
(this.model = monacoEditor.createModel( (this.model = monacoEditor.createModel(
this.content, this.content,
undefined, undefined,
new monacoUri(false, false, this.path), new Uri(false, false, this.path),
)), )),
); );
if (this.file.mrChange) { if (this.file.mrChange) {
...@@ -26,7 +26,7 @@ export default class Model { ...@@ -26,7 +26,7 @@ export default class Model {
(this.baseModel = monacoEditor.createModel( (this.baseModel = monacoEditor.createModel(
this.file.baseRaw, this.file.baseRaw,
undefined, undefined,
new monacoUri(false, false, `target/${this.path}`), new Uri(false, false, `target/${this.path}`),
)), )),
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment