Browse Source

docs(app-boot): clarify patch path anchoring

Tianyi Cui 1 month ago
parent
commit
76a450529d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/boot/app-boot/src/index.ts

+ 1 - 1
packages/boot/app-boot/src/index.ts

@@ -304,7 +304,7 @@ export function loadOverlayPatches(binName: string, file: string): PatchOptions[
   return parsePatchList(binName, file, content, 'overlay')
 }
 
-/** Resolve plugin paths introduced by one patch file without changing assertion names. */
+/** Resolve relative plugin paths in one patch file's `insert` rows without changing assertion names. */
 function anchorInsertedPluginNames(patches: PatchOptions[], file: string): PatchOptions[] {
   const base = dirname(resolve(file))
   const visit = (entry: EntryOptions): void => {