Skip to content

Commit

Permalink
fix: Emit deprecation warning for iPgm.addReturn (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmusse committed Jun 30, 2020
1 parent b9875c2 commit 2106673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class iPgm {
data[key] = options[key];
});
}
iPgmDeprecate('As of v1.0, \'iPgm.addReturn()\' is deprecated. Please use \'ProgramCall.addReturn()\' instead.');
return this.ProgramCall.addReturn(data);
}

Expand Down

0 comments on commit 2106673

Please sign in to comment.