Skip to content

Commit

Permalink
Remove full stops from end of error message as colon follows in error…
Browse files Browse the repository at this point in the history
… report
  • Loading branch information
duncanc19 committed Nov 26, 2024
1 parent 3d556ce commit 03d1d29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const TRANSFER_STAFF_RECORD_ERRORS = {
column: 'UNIQUEWORKERID',
_sourceFieldName: 'uniqueWorkerId',
error:
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID.",
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID",
}),
SameRefsMovingToWorkplace: Object.freeze({
errCode: TRANSFER_STAFF_RECORD_BASE_ERROR_CODE + 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ describe('crossValidate', () => {
errCode: 1402,
errType: 'TRANSFERSTAFFRECORD_ERROR',
error:
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID.",
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID",
worker: movingWorker.uniqueWorkerId,
name: movingWorker.localId,
lineNumber: movingWorker.lineNumber,
Expand Down Expand Up @@ -337,7 +337,7 @@ describe('crossValidate', () => {
errCode: 1402,
errType: 'TRANSFERSTAFFRECORD_ERROR',
error:
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID.",
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID",
worker: movingWorker.uniqueWorkerId,
name: movingWorker.localId,
lineNumber: movingWorker.lineNumber,
Expand Down Expand Up @@ -424,7 +424,7 @@ describe('crossValidate', () => {
errCode: 1402,
errType: 'TRANSFERSTAFFRECORD_ERROR',
error:
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID.",
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID",
worker: movingWorker.uniqueWorkerId,
name: movingWorker.localId,
lineNumber: movingWorker.lineNumber,
Expand Down Expand Up @@ -496,7 +496,7 @@ describe('crossValidate', () => {
errCode: 1402,
errType: 'TRANSFERSTAFFRECORD_ERROR',
error:
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID.",
"The UNIQUEWORKERID already exists in the LOCALESTID given in TRANSFERSTAFFRECORD. Use CHGUNIQUEWRKID to change this worker's UNIQUEWORKERID",
worker: movingWorker.uniqueWorkerId,
name: movingWorker.localId,
lineNumber: movingWorker.lineNumber,
Expand Down

0 comments on commit 03d1d29

Please sign in to comment.