mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 11:06:04 +00:00
Guard _scan_source_symbols against missing nm_path
This commit is contained in:
@@ -770,7 +770,7 @@ class MemoryAnalyzer:
|
||||
Skips scanning if ``_source_symbol_map`` was already populated by
|
||||
``_parse_map_file()``.
|
||||
"""
|
||||
if self._source_symbol_map:
|
||||
if self._source_symbol_map or not self.nm_path:
|
||||
return
|
||||
|
||||
obj_dir = self._find_object_files_dir()
|
||||
|
||||
Reference in New Issue
Block a user