mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
Cleanup dashboard JS (#491)
* Cleanup dashboard JS * Add vscode * Save start_mark/end_mark * Updates * Updates * Remove need for cv.nameable It's a bit hacky but removes so much bloat from integrations * Add enum helper * Document APIs, and Improvements * Fixes * Fixes * Update PULL_REQUEST_TEMPLATE.md * Updates * Updates * Updates
This commit is contained in:
@@ -398,7 +398,7 @@ GITIGNORE_CONTENT = """# Gitignore settings for ESPHome
|
||||
|
||||
|
||||
def write_gitignore():
|
||||
path = CORE.relative_path('.gitignore')
|
||||
path = CORE.relative_config_path('.gitignore')
|
||||
if not os.path.isfile(path):
|
||||
with open(path, 'w') as f:
|
||||
f.write(GITIGNORE_CONTENT)
|
||||
|
Reference in New Issue
Block a user