From 8e7cb774633847f48748389a67dd2ea48132f578 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Mon, 18 Mar 2019 13:38:11 -0700 Subject: [PATCH] Casing nit --- scripts/error-codes/extract-errors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/error-codes/extract-errors.js b/scripts/error-codes/extract-errors.js index 248a1ccae9de4..39e70391481a1 100644 --- a/scripts/error-codes/extract-errors.js +++ b/scripts/error-codes/extract-errors.js @@ -76,14 +76,14 @@ module.exports = function(opts) { // error messages can be concatenated (`+`) at runtime, so here's a // trivial partial evaluator that interprets the literal value const errorMsgLiteral = evalToString(node.arguments[1]); - addtoErrorMap(errorMsgLiteral); + addToErrorMap(errorMsgLiteral); } }, }, }); } - function addtoErrorMap(errorMsgLiteral) { + function addToErrorMap(errorMsgLiteral) { if (existingErrorMap.hasOwnProperty(errorMsgLiteral)) { return; }