Skip to content

Commit

Permalink
Merge pull request #1078 from russelldavis/sourcemap-fix
Browse files Browse the repository at this point in the history
Mapped source URLs should be relative to the sourcemap.
  • Loading branch information
dcramer committed Dec 3, 2013
2 parents f8470ab + 6c41817 commit a4b4282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/tasks/fetch_source.py
Expand Up @@ -287,7 +287,7 @@ def expand_javascript_source(data, **kwargs):

# queue up additional source files for download
for source in index.sources:
next_filename = urljoin(result.url, source)
next_filename = urljoin(sourcemap, source)
if next_filename not in done_file_list:
if index.content:
source_code[next_filename] = (index.content[source], None)
Expand Down

0 comments on commit a4b4282

Please sign in to comment.