Skip to content

Commit 2106673

Browse files
authored
fix: Emit deprecation warning for iPgm.addReturn (#295)
1 parent b9875c2 commit 2106673

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Deprecated.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ class iPgm {
143143
data[key] = options[key];
144144
});
145145
}
146+
iPgmDeprecate('As of v1.0, \'iPgm.addReturn()\' is deprecated. Please use \'ProgramCall.addReturn()\' instead.');
146147
return this.ProgramCall.addReturn(data);
147148
}
148149

0 commit comments

Comments
 (0)