refactor: do not log in file when it dont have to

This commit is contained in:
Oleksandr Smirnov 2025-02-27 23:43:15 +02:00
parent ed34cd1dd9
commit 7da0a7e492
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,8 @@ on:
jobs: jobs:
tests: tests:
env:
GOPHER_LOG_USE_FILE: false
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
@ -43,7 +45,6 @@ jobs:
run: | run: |
nvim --version nvim --version
task ci:install-deps task ci:install-deps
echo "$HOME/go/bin" >> $GITHUB_PATH
- name: Run Tests - name: Run Tests
run: | run: |

View file

@ -28,7 +28,7 @@ local config = {
highlights = true, highlights = true,
-- Should write to a file -- Should write to a file
use_file = true, use_file = vim.env.GOPHER_LOG_USE_FILE ~= "false",
-- Level configuration -- Level configuration
modes = { modes = {