-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minor changes to 127.1 ,if bitmap is customized #135
Conversation
@zemuldo can you please review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just the variable instance change. See comments
@@ -14,7 +14,14 @@ function assembleKeyValueString(self: ISO8583): DefaultError | Buffer { | |||
if (mtiCheck && validate && state) { | |||
const bitmaps_127 = self.assembleBitMap_127(); | |||
const bmpsHex = self.getBitMapHex_127_ext(); | |||
let buff = Buffer.alloc(8, bmpsHex, 'hex'); | |||
const buff = Buffer.alloc(8, bmpsHex, 'hex'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This variable is re-assigned, See the failing tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instantiate with just let
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the changes, changed const to let
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zemuldo would appreciate if you can review and approve if possible ASAP so that I can proceed with my deployment strategy :) Thanks
Closing this, duplicate of #137 |
please review the changes