Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Dec 22, 2023
1 parent d6976e2 commit c619079
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
tool: cross
- name: Checkout sources
uses: actions/checkout@v4
with:
with:
set-safe-directory: false
- uses: Swatinem/rust-cache@v2
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
dir
echo "$PWD.Path"
# Replace the default Nginx configuration file
$nginxConf = @"
worker_processes 1;
events {
Expand All @@ -355,8 +355,9 @@ jobs:
index index.html index.htm;
}
}
}"@
}
"@
Set-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf" -Value $nginxConf
Get-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf"
- name: Start Nginx (on Windows systems)
Expand Down
2 changes: 1 addition & 1 deletion martin/src/bin/martin-cp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct CopyArgs {
pub url_query: Option<String>,
/// Optional accepted encoding parameter as if the browser sent it in the HTTP request.
/// If set to multiple values like `gzip,br`, martin-cp will use the first encoding,
/// or re-encode if the tile is already encoded and that encoding is not listed.
/// or re-encode if the tile is already encoded and that encoding is not listed.
/// Use `identity` to disable compression. Ignored for non-encodable tiles like PNG and JPEG.
#[arg(long, alias = "encodings", default_value = "gzip")]
pub encoding: String,
Expand Down
2 changes: 1 addition & 1 deletion mbtiles/tests/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const TILES_V2: &str = "
-- , (6, 2, 6, cast('1-keep-1-rm' as blob)) -- this row is removed
, (5, 3, 7, cast('new' as blob)) -- this row is added, dup value
, (5, 3, 8, cast('new' as blob)) -- this row is added, dup value
-- Expected delta:
-- 5/1/1 edit
-- 5/1/2 edit
Expand Down

0 comments on commit c619079

Please sign in to comment.