Skip to content

Commit

Permalink
Fix broken windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wavded committed Jan 22, 2024
1 parent 729f321 commit 1bfc3ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Ogr2ogr implements PromiseLike<Result> {

then<TResult1 = Result, TResult2 = never>(
onfulfilled?: (value: Result) => TResult1 | PromiseLike<TResult1>,
onrejected?: (reason: string) => TResult2 | PromiseLike<TResult2>
onrejected?: (reason: string) => TResult2 | PromiseLike<TResult2>,
): PromiseLike<TResult1 | TResult2> {
return this.run().then(onfulfilled, onrejected)
}
Expand Down Expand Up @@ -164,7 +164,7 @@ class Ogr2ogr implements PromiseLike<Result> {
(err, stdout, stderr) => {
if (err) rej(err)
res({stdout, stderr})
}
},
)
if (this.inputStream && proc.stdin) this.inputStream.pipe(proc.stdin)
})
Expand Down
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,24 @@
"fmt-check": "prettier --check ."
},
"dependencies": {
"archiver": "^5.3.1"
"archiver": "^6.0.1"
},
"devDependencies": {
"@types/archiver": "^5.3.1",
"@types/blue-tape": "^0.1.33",
"@types/geojson": "^7946.0.10",
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@types/archiver": "^6.0.2",
"@types/blue-tape": "^0.1.36",
"@types/geojson": "^7946.0.13",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"blue-tape": "^1.0.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-prettier-config": "^1.0.1",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
"prettier": "^3.2.4",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=12"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"declaration": true,
"outDir": "./dist/cjs",
"esModuleInterop": true,
"resolveJsonModule": true
"resolveJsonModule": true,
},
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist"],
}

0 comments on commit 1bfc3ca

Please sign in to comment.