Skip to content

Commit

Permalink
refactor: builder plugin adapter name
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Mar 9, 2024
1 parent 7242164 commit c67df8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contents_builder/src/builder/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { FTreeNode, FolderNode } from '../parser/node'
import type { FileTreeParser } from '../parser/parser'
import { CorePlugins } from './core'
import { type BuilderPlugin, Pluggable, type UsePlugin } from './plugin'
import { type BuilderPlugin, Pluggable, type PluginAdapter } from './plugin'
import { type BuildReportSet, BuildReporter } from './reporter'
import { BuildResultLogger } from './result.logger'

Expand Down Expand Up @@ -40,7 +40,7 @@ export class FileBuilder {
public use({
'build:file:tree': treeConstructorPlugins,
'build:contents': updatedContentsModifierPlugins,
}: UsePlugin): FileBuilder {
}: PluginAdapter): FileBuilder {
treeConstructorPlugins &&
this.treeConstructorPluggable.use(treeConstructorPlugins)

Expand Down

0 comments on commit c67df8f

Please sign in to comment.