From a5eb01f247c8e07ba3f6266b4fb78a348f2ca375 Mon Sep 17 00:00:00 2001 From: denihs Date: Tue, 21 May 2024 08:55:50 -0400 Subject: [PATCH] - renaming getText to getTextAsync and getBinary to getBinaryAsync to follow the same as in the build plugins --- tools/static-assets/server/boot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/static-assets/server/boot.js b/tools/static-assets/server/boot.js index 90088df00d..0c305c80c1 100644 --- a/tools/static-assets/server/boot.js +++ b/tools/static-assets/server/boot.js @@ -354,10 +354,10 @@ const loadServerBundles = Profile("Load server bundles", async function () { }; const Assets = { - getText: function (assetPath, callback) { + getTextAsync: function (assetPath, callback) { return getAsset(assetPath, "utf8", callback); }, - getBinary: function (assetPath, callback) { + getBinaryAsync: function (assetPath, callback) { return getAsset(assetPath, undefined, callback); }, /**