Skip to content

Commit a0ceabb

Browse files
committed
fix status bar import error
1 parent 6b3c99a commit a0ceabb

File tree

3 files changed

+41
-6
lines changed

3 files changed

+41
-6
lines changed

packages/amazonq/package.json

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,26 +1393,61 @@
13931393
"fontCharacter": "\\f1e0"
13941394
}
13951395
},
1396-
"aws-schemas-registry": {
1396+
"aws-sagemakerunifiedstudio-catalog": {
13971397
"description": "AWS Contributed Icon",
13981398
"default": {
13991399
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
14001400
"fontCharacter": "\\f1e1"
14011401
}
14021402
},
1403-
"aws-schemas-schema": {
1403+
"aws-sagemakerunifiedstudio-spaces": {
14041404
"description": "AWS Contributed Icon",
14051405
"default": {
14061406
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
14071407
"fontCharacter": "\\f1e2"
14081408
}
14091409
},
1410-
"aws-stepfunctions-preview": {
1410+
"aws-sagemakerunifiedstudio-spaces-dark": {
14111411
"description": "AWS Contributed Icon",
14121412
"default": {
14131413
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
14141414
"fontCharacter": "\\f1e3"
14151415
}
1416+
},
1417+
"aws-sagemakerunifiedstudio-symbol-int": {
1418+
"description": "AWS Contributed Icon",
1419+
"default": {
1420+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1421+
"fontCharacter": "\\f1e4"
1422+
}
1423+
},
1424+
"aws-sagemakerunifiedstudio-table": {
1425+
"description": "AWS Contributed Icon",
1426+
"default": {
1427+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1428+
"fontCharacter": "\\f1e5"
1429+
}
1430+
},
1431+
"aws-schemas-registry": {
1432+
"description": "AWS Contributed Icon",
1433+
"default": {
1434+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1435+
"fontCharacter": "\\f1e6"
1436+
}
1437+
},
1438+
"aws-schemas-schema": {
1439+
"description": "AWS Contributed Icon",
1440+
"default": {
1441+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1442+
"fontCharacter": "\\f1e7"
1443+
}
1444+
},
1445+
"aws-stepfunctions-preview": {
1446+
"description": "AWS Contributed Icon",
1447+
"default": {
1448+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1449+
"fontCharacter": "\\f1e8"
1450+
}
14161451
}
14171452
},
14181453
"walkthroughs": [

packages/amazonq/test/unit/codewhisperer/service/inlineCompletionService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as vscode from 'vscode'
77
import assert from 'assert'
88
import * as sinon from 'sinon'
99
import {
10-
CodeWhispererStatusBar,
10+
CodeWhispererStatusBarManager,
1111
InlineCompletionService,
1212
ReferenceInlineProvider,
1313
RecommendationHandler,
@@ -181,7 +181,7 @@ describe('codewhisperer status bar', function () {
181181
let statusBar: TestStatusBar
182182
let service: InlineCompletionService
183183

184-
class TestStatusBar extends CodeWhispererStatusBar {
184+
class TestStatusBar extends CodeWhispererStatusBarManager {
185185
constructor() {
186186
super()
187187
}

packages/core/src/codewhisperer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export {
3636
codeWhispererClient,
3737
} from './client/codewhisperer'
3838
export { listCodeWhispererCommands, listCodeWhispererCommandsId } from './ui/statusBarMenu'
39-
export { CodeWhispererStatusBar, InlineCompletionService } from './service/inlineCompletionService'
39+
export { InlineCompletionService } from './service/inlineCompletionService'
4040
export { refreshStatusBar, CodeWhispererStatusBarManager } from './service/statusBar'
4141
export { SecurityIssueHoverProvider } from './service/securityIssueHoverProvider'
4242
export { SecurityIssueCodeActionProvider } from './service/securityIssueCodeActionProvider'

0 commit comments

Comments
 (0)