mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Fix null dereference in helpers.getPreferredLineEnding when running in browser (platform unknown, process object not available) and input string does not contain line endings.
This commit is contained in:
parent
580b7ed020
commit
295e481552
4 changed files with 51 additions and 3 deletions
|
|
@ -45,6 +45,7 @@ function config(options) {
|
|||
"fallback": {
|
||||
"fs": false,
|
||||
"path": false,
|
||||
"process": false,
|
||||
"util": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue