Skip to content

Commit

Permalink
chore: add comment about extracting
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Nov 15, 2023
1 parent de1bdcd commit ade0266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/build/src/plugins/spawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const tStartPlugins = async function ({ pluginsOptions, buildDir, childEnv, logs
export const startPlugins = measureDuration(tStartPlugins, 'start_plugins')

const startPlugin = async function ({ pluginDir, nodePath, buildDir, childEnv, systemLogFile, pluginPackageJson }) {
// todo: extract this into a function that's shared with the feature flag impl
const isTrustedPlugin = pluginPackageJson?.name?.startsWith('@netlify/')

const childProcess = execaNode(CHILD_MAIN_FILE, [], {
Expand Down

0 comments on commit ade0266

Please sign in to comment.