mirror of
https://github.com/ivuorinen/gibidify.git
synced 2026-03-10 03:59:18 +00:00
fix(lint): linting problems
This commit is contained in:
14
README.md
14
README.md
@@ -41,13 +41,13 @@ Run the Docker container:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v $(pwd):/workspace \
|
-v $(pwd):/workspace \
|
||||||
-v $HOME/.config/gibidify:/config \
|
-v $HOME/.config/gibidify:/config \
|
||||||
ghcr.io/ivuorinen/gibidify:<tag> \
|
ghcr.io/ivuorinen/gibidify:<tag> \
|
||||||
-source /workspace/your_source_directory \
|
-source /workspace/your_source_directory \
|
||||||
-destination /workspace/output.txt \
|
-destination /workspace/output.txt \
|
||||||
--prefix="Your prefix text" \
|
--prefix="Your prefix text" \
|
||||||
--suffix="Your suffix text"
|
--suffix="Your suffix text"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ type FakeWalker struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Walk returns predetermined file paths or an error, depending on FakeWalker's configuration.
|
// Walk returns predetermined file paths or an error, depending on FakeWalker's configuration.
|
||||||
func (fw FakeWalker) Walk(root string) ([]string, error) {
|
func (fw FakeWalker) Walk(_ string) ([]string, error) {
|
||||||
if fw.Err != nil {
|
if fw.Err != nil {
|
||||||
return nil, fw.Err
|
return nil, fw.Err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user