You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load a js/ts file containing a static import statement where the source path contains one or more directories using "." in its name
e.g. import { foo, bar } from '../example.directory/module';
The imported live bindings show up on the Sapling tree as having been exported from non-files.
B. Input file node flagged as error
Load js/ts file into Sapling that has a path containing one or more directories "." with in its name.
Root node is flagged with error coloring (but open file icon is functional).
Expected behavior
File path parsing module handles this edge case correctly and icons for opening source files show up on the relevant Sapling tree nodes with no errors.
Desktop:
OS: Darwin Kernel Version 21.3.0; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101
Version: v1.2.0
The text was updated successfully, but these errors were encountered:
MajorLift
changed the title
Module not recognized as file if directory name in path contains "."
Module not processed correctly if directory name in path contains "."
Feb 9, 2022
Steps to reproduce the behavior:
A. Module not recognized as file
e.g.
import { foo, bar } from '../example.directory/module';
B. Input file node flagged as error
Expected behavior
File path parsing module handles this edge case correctly and icons for opening source files show up on the relevant Sapling tree nodes with no errors.
Desktop:
The text was updated successfully, but these errors were encountered: