Skip to content

Commit

Permalink
Fix a typo in deprecated param name warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpakov-atlassian committed Jun 16, 2020
1 parent 1b4cee3 commit aa16785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eyes-sdk-core/lib/utils/GeneralUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class GeneralUtils {
results[newParamName] = newParam[newParamName]
} else {
logger.log(
`warning - "${oldParamName}" is deprectated and will be removed, please use "${newParamName}" instead.`,
`warning - "${oldParamName}" is deprecated and will be removed, please use "${newParamName}" instead.`,
)
results[newParamName] = oldParam[oldParamName]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe('GeneralUtils', () => {
assert.strictEqual(newParam2, 'using old')
assert.strictEqual(
log[0],
'warning - "oldParam2" is deprectated and will be removed, please use "newParam2" instead.',
'warning - "oldParam2" is deprecated and will be removed, please use "newParam2" instead.',
)
})
})
Expand Down

0 comments on commit aa16785

Please sign in to comment.