Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin IGARASHI committed Jul 24, 2020
1 parent d52d1bc commit a876140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@watergis/geojson2inp",
"version": "0.1.2",
"version": "0.1.3",
"description": "This module converts GeoJSON to EPANET INP file",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/inp/InpCurves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default class InpPumps extends InpBase {
}

addContent(data: PumpCurve) {
if (!data)return;
const contents = [
pad(data.id, 16),
pad(data.flow.toString(), 12),
Expand Down

0 comments on commit a876140

Please sign in to comment.