Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve AW_WEBUI_DIR handling #424

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

2e3s
Copy link
Contributor

@2e3s 2e3s commented Sep 27, 2023

Otherwise, ../aw-webui/dist is always created which contradicts the flexibility from the env variable. Also, if AW_WEBUI_DIR is already and explicitly set then it supposedly means that the build runner has taken care of the matter.

Follow up on #385

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (2e3298e) 73.37% compared to head (8f7aa30) 73.37%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #424   +/-   ##
=======================================
  Coverage   73.37%   73.37%           
=======================================
  Files          45       45           
  Lines        2794     2794           
=======================================
  Hits         2050     2050           
  Misses        744      744           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ErikBjare
Copy link
Member

Good catch!

@ErikBjare ErikBjare changed the title Set AW_WEBUI_DIR only if absent fix: improve AW_WEBUI_DIR handling Sep 27, 2023
@ErikBjare ErikBjare merged commit 448312d into ActivityWatch:master Sep 27, 2023
7 checks passed
@2e3s 2e3s deleted the build-ignore-webui-var branch September 27, 2023 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants