Skip to content

Commit ebb23f1

Browse files
author
Franck Freiburger
committed
chore(core): rename defaultHandleModule() to handleModuleInternal()
1 parent 28e9379 commit ebb23f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export async function loadModuleInternal(pathCx : PathContext, options : Options
304304
module = await handleModule(type, getContentData, path, options);
305305

306306
if ( module === undefined )
307-
module = await defaultHandleModule(type, getContentData, path, options);
307+
module = await handleModuleInternal(type, getContentData, path, options);
308308

309309
if ( module === undefined )
310310
throw new TypeError(`Unable to handle ${ type } files (${ path })`);
@@ -396,7 +396,7 @@ export async function loadDeps(refPath : AbstractPath, deps : AbstractPath[], op
396396
/**
397397
* Default implementation of handleModule
398398
*/
399-
async function defaultHandleModule(type : string, getContentData : File['getContentData'], path : AbstractPath, options : Options) : Promise<ModuleExport | undefined> {
399+
async function handleModuleInternal(type : string, getContentData : File['getContentData'], path : AbstractPath, options : Options) : Promise<ModuleExport | undefined> {
400400

401401
switch (type) {
402402
case '.vue': return createSFCModule((await getContentData(false)) as string, path, options);

0 commit comments

Comments
 (0)