Skip to content

Commit a84d06e

Browse files
committed
fix azdl 500
1 parent dd48456 commit a84d06e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/documentTypes/arizonaDriverLicense.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ module.exports = {
2020
let first_name = rawText.find((line) => line.match(/^2 (.*)$/g));
2121
if (first_name && first_name.substr(0, 2) === '2 ') {
2222
first_name = first_name.replace('2 ', '');
23+
first_name = first_name.split(' ').shift();
2324
}
24-
first_name = first_name.split(' ').shift();
2525

2626
// last name
2727
let last_name = rawText.find((line) => line.match(/^1 (.*)$/g));

0 commit comments

Comments
 (0)