Skip to content

Commit 1ab0a7e

Browse files
author
Loïc Mangeonjean
committed
fix: prefix unused parameter
1 parent 4f41865 commit 1ab0a7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function registerCommands(options: IWorkbenchConstructionOptions) {
8181

8282
if (Array.isArray(options.commands)) {
8383
for (const command of options.commands) {
84-
CommandsRegistry.registerCommand(command.id, (accessor, ...args) => {
84+
CommandsRegistry.registerCommand(command.id, (_accessor, ...args) => {
8585
// we currently only pass on the arguments but not the accessor
8686
// to the command to reduce our exposure of internal API.
8787
return command.handler(...args)

0 commit comments

Comments
 (0)