Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
aluisiora committed Mar 6, 2018
2 parents fa2bb8d + 3944f87 commit 3e8e3ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "routeros-client",
"version": "0.7.0",
"version": "0.8.0",
"description": "Easy to use abstraction layer over the node-routeros API",
"main": "./dist/index",
"types": "./dist/index",
Expand Down Expand Up @@ -51,6 +51,6 @@
},
"dependencies": {
"debug": "^3.*",
"node-routeros": "^1.3.3"
"node-routeros": "^1.*"
}
}
1 change: 1 addition & 0 deletions src/RosApiCrud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export abstract class RouterOSAPICrud {
return Promise.all(promises).then((results) => {
for (let result of results) {
if (Array.isArray(result)) result = result.shift();
if (!result) return Promise.reject(new RosException("REFNOTFND"));
const consulted = consultedIndexes.shift();
if (consulted.key === "place-after") {
this.placeAfter = result[".id"];
Expand Down

0 comments on commit 3e8e3ca

Please sign in to comment.