Skip to content

Commit 8f3fb44

Browse files
authored
fix(amazonq): type error for workspaceIndexCacheDirPath (aws#7191)
## Problem set default to empty string instead of undefined for workspaceIndexCacheDirPath ## Solution --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6dbb21e commit 8f3fb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/util/codewhispererSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class CodeWhispererSettings extends fromExtensionManifest('amazonQ', desc
6767
}
6868

6969
public getIndexCacheDirPath(): string {
70-
return this.get('workspaceIndexCacheDirPath', undefined)
70+
return this.get('workspaceIndexCacheDirPath', '')
7171
}
7272

7373
public getIndexIgnoreFilePatterns(): string[] {

0 commit comments

Comments
 (0)