mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-12 17:26:17 +00:00
remove console.logs & improve error handling
This commit is contained in:
@@ -642,8 +642,10 @@ export default class CodeEditor extends React.Component {
|
||||
try {
|
||||
Jsonlint.parse(customMarkdownLintConfig)
|
||||
lintConfigJson = JSON.parse(customMarkdownLintConfig)
|
||||
console.log(customMarkdownLintConfig, lintConfigJson)
|
||||
} catch (err) {
|
||||
throw err
|
||||
eventEmitter.emit('APP_SETTING_ERROR')
|
||||
return
|
||||
}
|
||||
const lintOptions = {
|
||||
'strings': {
|
||||
|
||||
Reference in New Issue
Block a user