mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
async functions return promises silly
This commit is contained in:
@ -4963,7 +4963,7 @@ async function getImageBuffers(zipFilePath) {
|
|||||||
/**
|
/**
|
||||||
* This function extracts the extension information from the manifest file.
|
* This function extracts the extension information from the manifest file.
|
||||||
* @param {string} extensionPath - The path of the extension folder
|
* @param {string} extensionPath - The path of the extension folder
|
||||||
* @returns {Object} - Returns the manifest data as an object
|
* @returns {Promise<Object>} - Returns the manifest data as an object
|
||||||
*/
|
*/
|
||||||
async function getManifest(extensionPath) {
|
async function getManifest(extensionPath) {
|
||||||
const manifestPath = path.join(extensionPath, 'manifest.json');
|
const manifestPath = path.join(extensionPath, 'manifest.json');
|
||||||
|
Reference in New Issue
Block a user