Skip to content

Commit

Permalink
Fixed Code Insiders config directory name (#157)
Browse files Browse the repository at this point in the history
Should be `Code - Insiders`.

Bug fix: resolves #156
  • Loading branch information
freemanjp authored Aug 21, 2019
1 parent b69e017 commit 8e70e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion molecule/default/tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_settings(host):

def test_settings_insiders(host):
settings_file = host.file(
'/home/test_usr/.config/Code-Insiders/User/settings.json')
'/home/test_usr/.config/Code - Insiders/User/settings.json')

assert settings_file.exists
assert settings_file.is_file
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# The name of the directory where the config is stored for this build
visual_studio_code_config_dirname: "{{ (visual_studio_code_build == 'insiders') | ternary('Code-Insiders', 'Code') }}"
visual_studio_code_config_dirname: "{{ (visual_studio_code_build == 'insiders') | ternary('Code - Insiders', 'Code') }}"

# Directory under $HOME where where VS Code config is stored
visual_studio_code_config_path: "{{ (ansible_distribution == 'MacOSX') | ternary('Library/Application Support', '.config') }}/{{ visual_studio_code_config_dirname }}"
Expand Down

0 comments on commit 8e70e2e

Please sign in to comment.