From 3896f3ac79b87ab017f589306fae4472d8605871 Mon Sep 17 00:00:00 2001 From: Martin Najemi Date: Fri, 13 Feb 2026 17:33:47 +0100 Subject: [PATCH] fix: Remove unused function Risk: low --- CHANGELOG.md | 6 ++++++ VERSION | 2 +- screenshotter/worker.go | 9 --------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e029a0..39046eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.21.1] - 2026-02-13 + +### Removed +- Unused `getBrowserName` function + ## [0.21.0] - 2026-02-13 ### Changed @@ -152,6 +157,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release +[0.21.1]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.21.0...v0.21.1 [0.21.0]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.20.2...v0.21.0 [0.20.2]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.20.1...v0.20.2 [0.20.1]: https://github.com/gooddata/gooddata-neobackstop/compare/v0.20.0...v0.20.1 diff --git a/VERSION b/VERSION index 1db0ede..b9f8e55 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.21.0 \ No newline at end of file +0.21.1 \ No newline at end of file diff --git a/screenshotter/worker.go b/screenshotter/worker.go index 9712235..4869939 100644 --- a/screenshotter/worker.go +++ b/screenshotter/worker.go @@ -22,15 +22,6 @@ type CurrentBrowser struct { Name string } -func getBrowserName(conf config.Config, browserAlias string) browser.Browser { - b, ok := conf.Browsers[browserAlias] - if !ok { - panic("Browser not found: " + browserAlias + ". This should not be possible.") - } - - return b.Name -} - func Run(saveDir string, pw *playwright.Playwright, conf config.Config, jobs chan internals.Scenario, wg *sync.WaitGroup, results chan Result, id int, mode string) { defer wg.Done()