source_mapping: minor

pull/269/head
Josselin 6 years ago
parent f80c18aeba
commit 3253801a31
  1. 2
      slither/core/source_mapping/source_mapping.py

@ -88,7 +88,7 @@ class SourceMapping(Context):
filename_relative = filenames.relative filename_relative = filenames.relative
filename_short = filenames.short filename_short = filenames.short
is_dependency = any(slither.crytic_compile.is_dependency(f) for f in filenames) is_dependency = slither.crytic_compile.is_dependency(filename_absolute)
if filename_absolute in slither.source_code: if filename_absolute in slither.source_code:
filename = filename_absolute filename = filename_absolute

Loading…
Cancel
Save