Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class LocalFileSourceProvider implements ISourceProvider {
return false;
}

const parts = path.relative('.', filePath).split('/');
const parts = path.relative('.', filePath).split(path.sep);

// TODO: this method is limiting us from having additional subdirectories and is requiring us to remove any "./" prefixes (the path.relative line above)
if (parts.length !== 2) {
Expand Down