Skip to content

Commit 5fc46c7

Browse files
authored
[NFC] Fix typos in PluginScriptRunner.swift comments (#7008)
`exectutable` -> `executable`, `callbackq` -> `callback`
1 parent 0cc531b commit 5fc46c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SPMBuildCore/Plugins/PluginScriptRunner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import PackageGraph
1919
/// Implements the mechanics of running and communicating with a plugin (implemented as a set of Swift source files). In most environments this is done by compiling the code to an executable, invoking it as a sandboxed subprocess, and communicating with it using pipes. Specific implementations are free to implement things differently, however.
2020
public protocol PluginScriptRunner {
2121

22-
/// Public protocol function that starts compiling the plugin script to an exectutable. The name is used as the basename for the executable and auxiliary files. The tools version controls the availability of APIs in PackagePlugin, and should be set to the tools version of the package that defines the plugin (not of the target to which it is being applied). This function returns immediately and then calls the completion handler on the callbackq queue when compilation ends.
22+
/// Public protocol function that starts compiling the plugin script to an executable. The name is used as the basename for the executable and auxiliary files. The tools version controls the availability of APIs in PackagePlugin, and should be set to the tools version of the package that defines the plugin (not of the target to which it is being applied). This function returns immediately and then calls the completion handler on the callback queue when compilation ends.
2323
func compilePluginScript(
2424
sourceFiles: [AbsolutePath],
2525
pluginName: String,

0 commit comments

Comments
 (0)