Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesboeufs committed Apr 24, 2019
1 parent 91393a2 commit 3d175e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getDateMutation(row) {
function getIdParcelle(row) {
const codeCommune = getCodeCommune(row)
const codePrefixeSection = row['Prefixe de section'] ? row['Prefixe de section'].padStart(3, '0') : '000'
const codeSection = row['Section'].padStart(2, '0')
const codeSection = row.Section.padStart(2, '0')
const numeroParcelle = row['No plan'].padStart(4, '0')
return codeCommune + codePrefixeSection + codeSection + numeroParcelle
}
Expand Down

0 comments on commit 3d175e2

Please sign in to comment.