Skip to content

Commit

Permalink
Update deps and fix lint (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
wavded authored Nov 6, 2020
1 parent ca15a18 commit df106b3
Show file tree
Hide file tree
Showing 3 changed files with 364 additions and 325 deletions.
4 changes: 3 additions & 1 deletion examples/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ let tmpdir = require('os').tmpdir()
if (tmpdir === '/src') tmpdir = '/tmp' // docker issue

ogr2ogr(path.join(__dirname, '../test/samples/sample.shp.zip'))
.command(`docker run -v ${tmpdir}:${tmpdir} --rm osgeo/gdal:alpine-small-latest ogr2ogr`)
.command(
`docker run -v ${tmpdir}:${tmpdir} --rm osgeo/gdal:alpine-small-latest ogr2ogr`
)
.exec(function (er, data) {
if (er) {
console.log('er', er)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"main": "./index.js",
"dependencies": {
"archiver": "^4.0.1",
"archiver": "^5.0.2",
"comma-separated-values": "^3.6.0",
"decompress-zip": "^0.2.2",
"findit": "^2.0.0",
Expand Down
Loading

0 comments on commit df106b3

Please sign in to comment.