Move artifact graph out of engine connection (#6062)
* cleanups Signed-off-by: Jess Frazelle <github@jessfraz.com> * cleanups Signed-off-by: Jess Frazelle <github@jessfraz.com> * fmt Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -3700,7 +3700,7 @@ function computeSelectionFromSourceRangeAndAST(
|
||||
sourceRange: SourceRange,
|
||||
ast: Node<Program>
|
||||
): Selections {
|
||||
const artifactGraph = engineCommandManager.artifactGraph
|
||||
const artifactGraph = kclManager.artifactGraph
|
||||
const artifact = getArtifactFromRange(sourceRange, artifactGraph) || undefined
|
||||
const selection: Selections = {
|
||||
graphSelections: [
|
||||
|
Reference in New Issue
Block a user