Skip to content

Commit

Permalink
Relocate tflite registration in ConfigObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanggyu Lee committed Sep 19, 2023
1 parent adfb23f commit bea4918
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/OneExplorer/ConfigObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,17 @@ export class ConfigObj {

let locatorRunner = new LocatorRunner();

locatorRunner.register({
artifactAttr: {
ext: ".tflite",
icon: new vscode.ThemeIcon("symbol-variable"),
openViewType: "one.viewer.circle",
},
locator: new Locator((value: string) =>
LocatorRunner.searchWithExt(".tflite", value)
),
});

locatorRunner.register({
artifactAttr: {
ext: ".tflite",
Expand Down Expand Up @@ -301,17 +312,6 @@ export class ConfigObj {
),
});

locatorRunner.register({
artifactAttr: {
ext: ".tflite",
icon: new vscode.ThemeIcon("symbol-variable"),
openViewType: "one.viewer.circle",
},
locator: new Locator((value: string) =>
LocatorRunner.searchWithExt(".tflite", value)
),
});

locatorRunner.register({
artifactAttr: {
ext: ".tvn",
Expand Down

0 comments on commit bea4918

Please sign in to comment.