Skip to content

Commit 4611047

Browse files
committed
correct apt repository for vscode to new location
1 parent 08d34f0 commit 4611047

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

roles/vscode/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
- name: Add Microsoft's VSCode repository into sources list
1010
apt_repository:
11-
repo: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
11+
repo: deb [arch=amd64] https://packages.microsoft.com/repos/code stable main
1212
state: present
1313

1414
- name: Install VSCode

spec/test_vscode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22

33
def test_vscode_apt_sources_list_exists_(host):
4-
assert host.file('/etc/apt/sources.list.d/packages_microsoft_com_repos_vscode.list').exists
4+
assert host.file('/etc/apt/sources.list.d/packages_microsoft_com_repos_code.list').exists
55

66
def test_vscode_apt_key_defined_(host):
77
assert 'Microsoft (Release signing) <gpgsecurity@microsoft.com>' in host.run('apt-key list').stdout

0 commit comments

Comments
 (0)