File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/components/MonacoEditor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11dist : trusty
22language : node_js
33node_js :
4- - ' 7 '
4+ - ' 10.14.1 '
55
66cache : yarn
77
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ class EditorInfo {
6767 this . languageMode = findLanguageByextensions ( this . filePath . split ( '.' ) . pop ( ) ) . id
6868 }
6969 const model =
70- monaco . editor . getModel ( monaco . Uri . parse ( this . uri ) . toString ( ) ) ||
71- monaco . editor . createModel ( this . content || '' , this . languageMode , monaco . Uri . parse ( this . uri ) )
70+ monaco . editor . getModel ( monaco . Uri . parse ( this . uri ) . toString ( ) ) ||
71+ monaco . editor . createModel ( this . content || '' , this . languageMode , monaco . Uri . parse ( this . uri ) )
7272 this . uri = model . uri . _formatted
7373 const monacoEditor = monaco . editor . create (
7474 this . monacoElement ,
You can’t perform that action at this time.
0 commit comments