Skip to content

Commit

Permalink
Expand comment
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Aug 1, 2024
1 parent 42137e4 commit 528dea5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/symbolicator-js/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ pub fn fixup_webpack_filename(filename: &str) -> String {
///
/// This function was originally a simplified (but semantically faithful) version of
/// https://github.com/getsentry/sentry/blob/69ee8d0fcbff3494f2d2a6fb9fb59195fc49b575/src/sentry/lang/javascript/processor.py#L1573-L1603.
/// For a version that preserves the original exactly (modulo Python -> Rust translation), see
/// `is_in_app_faithful`.
pub fn is_in_app(abs_path: &str, filename: &str) -> Option<bool> {
if abs_path.starts_with("webpack:") {
// This diverges from the original logic. Previously we would only consider
Expand Down

0 comments on commit 528dea5

Please sign in to comment.