Skip to content

Commit

Permalink
Initial implementation of parseCrashes() (#1)
Browse files Browse the repository at this point in the history
* Initial implementation of parseCrashes().

* Removed identification of hardware platforms. Removed eslint exceptions. Refactored code based on PR comments.

* Improved stack trace parsing and added tests for it.

* Removed unnecesary loop.

* Turned off linter rule @typescript-eslint/no-loop-func

* Renamed StackTraceStep to StackFrame

* Replaced `StackFrame`'s `pkgLocation` and `srcLocation` for `reference` which is a pointer to a `CrashlogFile.references` entry.

* fix stack frames parsing coverage
  • Loading branch information
arturocuya authored Oct 20, 2022
1 parent 6aebeb2 commit e38c1d8
Show file tree
Hide file tree
Showing 5 changed files with 758 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ module.exports = {
'@typescript-eslint/typedef': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/unified-signatures': 'off',
'@typescript-eslint/no-loop-func': 'off',
'array-bracket-newline': 'off',
'array-element-newline': 'off',
'array-type': 'off',
Expand Down
Loading

0 comments on commit e38c1d8

Please sign in to comment.