Merge pull request #10150 from QiYuTechDev/devel

`console.warning` is not exists on browser

SUMMARY

fix typo error for console.warn

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME


UI

AWX VERSION

19.1.0

ADDITIONAL INFORMATION

console.warning is not exists function in browser envirment.

Reviewed-by: Kersom <None>
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-05-10 13:51:56 +00:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ function CodeEditor({
}) {
if (rows && typeof rows !== 'number' && rows !== 'auto') {
// eslint-disable-next-line no-console
console.warning(
console.warn(
`CodeEditor: Unexpected value for 'rows': ${rows}; expected number or 'auto'`
);
}