From 8e70e2ec3cf11d83ab2bc1fc7bc90e114c6034c4 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Wed, 21 Aug 2019 10:46:08 +0100 Subject: [PATCH] Fixed Code Insiders config directory name (#157) Should be `Code - Insiders`. Bug fix: resolves #156 --- molecule/default/tests/test_settings.py | 2 +- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/default/tests/test_settings.py b/molecule/default/tests/test_settings.py index 2054b40..9cd15fc 100644 --- a/molecule/default/tests/test_settings.py +++ b/molecule/default/tests/test_settings.py @@ -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 diff --git a/vars/main.yml b/vars/main.yml index 6bc1ba7..205b1ee 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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 }}"