diff --git a/products/jbrowse-cli/src/commands/text-index.ts b/products/jbrowse-cli/src/commands/text-index.ts index cb4170a37d..356ffe1c0b 100644 --- a/products/jbrowse-cli/src/commands/text-index.ts +++ b/products/jbrowse-cli/src/commands/text-index.ts @@ -406,7 +406,7 @@ export default class TextIndex extends JBrowseCommand { } return currentTrack }) - .filter(track => supported(track.adapter.type)) + .filter(track => supported(track.adapter?.type)) .filter(track => assemblyName ? track.assemblyNames.includes(assemblyName) : true, )