Skip to content

Commit a3cc1a2

Browse files
committed
nit
1 parent 1a7255f commit a3cc1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/copilotRemoteAgent/gitOperationsManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class GitOperationsManager {
148148
const branchRandomNameDictionary = config.get<string[]>(BRANCH_RANDOM_NAME_DICTIONARY);
149149

150150
// Default to legacy behaviour if config mismatches core
151-
if (!branchWhitespaceChar || !branchRandomNameDictionary) {
151+
if (branchWhitespaceChar === undefined || branchRandomNameDictionary === undefined) {
152152
return `copilot/vscode${Date.now()}`;
153153
}
154154

0 commit comments

Comments
 (0)