Skip to content

Commit a7fd284

Browse files
authored
Merge pull request github#36555 from github/repo-sync
Repo sync
2 parents b05ab37 + 8bbb598 commit a7fd284

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

content/get-started/learning-to-code/learning-to-debug-with-github-copilot.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ First, we need to create a local copy of the example repository:
6262

6363
Now that we've cloned the repository, let's run `bugged_dice_battle.py` to see the output:
6464

65-
1. Open the Command Palette by pressing <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Mac) or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux).
65+
1. Open the Command Palette by pressing <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux) or <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Mac).
6666
1. Type `Terminal: Create New Terminal` and press <kbd>Enter</kbd>.
6767
1. In the terminal tab, paste the following command.
6868

@@ -80,7 +80,11 @@ Now that we've cloned the repository, let's run `bugged_dice_battle.py` to see t
8080

8181
1. Press <kbd>Enter</kbd> to run the program.
8282

83-
Unfortunately, we get some error text in our terminal ending with the following message: `TypeError: can only concatenate str (not "int") to str`. To understand what this means, press <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> (Mac) or <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>I</kbd> (Windows/Linux) to open {% data variables.product.prodname_copilot_chat_short %}, then paste and send the following prompt:
83+
Unfortunately, we get some error text in our terminal ending with the following message:
84+
85+
> TypeError: can only concatenate str (not "int") to str
86+
87+
To understand what this means, press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>I</kbd> (Windows/Linux) or <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> (Mac) to **open {% data variables.product.prodname_copilot_chat_short %}**, then paste and send the following prompt:
8488

8589
```text copy
8690
Explain in depth why my code produces the following error and how I can fix it:

src/events/components/experiments/experiment.ts

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export function shouldShowExperiment(
5454
? routerQuery.feature.toLowerCase() === experiment.turnOnWithURLParam.toLowerCase()
5555
: false
5656
) {
57+
controlGroupOverride[experimentKey] = TREATMENT_VARIATION
5758
return true
5859
}
5960
}

src/search/components/input/SearchOverlay.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ export function SearchOverlay({
651651
onClick={async () => {
652652
if (await getIsStaff()) {
653653
// Hubbers users use an internal discussion for feedback
654-
window.open('https://github.com/github/docs-team/discussions/4952', '_blank')
654+
window.open('https://github.com/github/docs-engineering/discussions/5295', '_blank')
655655
} else {
656656
// TODO: On ship date set this value
657657
// window.open('TODO', '_blank')

0 commit comments

Comments
 (0)