avancement planning

This commit is contained in:
2026-05-26 11:58:39 +02:00
parent 619a2b240a
commit 150b97cd2e
4892 changed files with 99214 additions and 429382 deletions
+4 -3
View File
@@ -279,11 +279,12 @@ function populateConstructorExports (exports, codes, HttpError) {
/**
* Get a class name from a name identifier.
*
* @param {string} name
* @returns {string}
* @private
*/
function toClassName (name) {
return name.substr(-5) !== 'Error'
? name + 'Error'
: name
return name.slice(-5) === 'Error' ? name : name + 'Error'
}