From 0aa235ceb7417fc97eb4ab39efd8ec5635282c69 Mon Sep 17 00:00:00 2001 From: Christopher Chudzicki Date: Mon, 25 Apr 2022 18:47:05 -0400 Subject: [PATCH] [manual] fix single linting error in src/ --- src/utils/object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/object.js b/src/utils/object.js index 4216c864e2..c9fb764b99 100644 --- a/src/utils/object.js +++ b/src/utils/object.js @@ -192,7 +192,7 @@ export function canDefineProperty () { // test needed for broken IE8 implementation try { if (Object.defineProperty) { - Object.defineProperty({}, 'x', { get: function () {} }) + Object.defineProperty({}, 'x', { get: function () { return null } }) return true } } catch (e) {}