Skip to content

Commit

Permalink
perf: some code adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhiter committed Nov 8, 2024
1 parent e761333 commit 9059067
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions extensions/ide/vscode/devbox/src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import * as vscode from 'vscode'
import axios, {
InternalAxiosRequestConfig,
AxiosHeaders,
AxiosResponse,
AxiosRequestConfig,
} from 'axios'
import { GlobalStateManager } from '../utils/globalStateManager'

import {
defaultProductionUrl,
developmentUrl,
isDevelopment,
} from '../constant/api'
import * as vscode from 'vscode'
import { GlobalStateManager } from '../utils/globalStateManager'

const showStatus = (status: number) => {
let message = ''
Expand Down
8 changes: 4 additions & 4 deletions extensions/ide/vscode/devbox/src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import * as vscode from 'vscode'

import { updateBaseUrl } from './api'
import { UriHandler } from './utils/handleUri'
import { isDevelopment } from './constant/api'
import { ToolCommands } from './commands/tools'
import { RemoteSSHConnector } from './commands/remoteConnector'
import { DevboxListViewProvider } from './providers/DevboxListViewProvider'
import { UriHandler } from './utils/handleUri'
import { NetworkViewProvider } from './providers/NetworkViewProvider'
import { DBViewProvider } from './providers/DBViewProvider'
import { GlobalStateManager } from './utils/globalStateManager'
import { ToolCommands } from './commands/tools'
import { updateBaseUrl } from './api'
import { isDevelopment } from './constant/api'

export async function activate(context: vscode.ExtensionContext) {
// tools
Expand Down

0 comments on commit 9059067

Please sign in to comment.