Skip to content

Commit

Permalink
Remove recipe argument from SetupRuntimeCommand as it's already inclu…
Browse files Browse the repository at this point in the history
…de in context
  • Loading branch information
azubieta committed Jun 22, 2022
1 parent 2b8acd5 commit d693370
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion appimagebuilder/commands/setup_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
from appimagebuilder.context import Context
from appimagebuilder.modules.setup.apprun_2.apprun2 import AppRunV2Setup
from appimagebuilder.commands.command import Command


class SetupRuntimeCommand(Command):
def __init__(self, context, recipe, finder):
def __init__(self, context: Context, finder):
super().__init__(context, "runtime setup")
self.context = context
self._finder = finder
Expand Down
2 changes: 1 addition & 1 deletion appimagebuilder/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _create_setup_commands(self, context, recipe):
finder = Finder(context.app_dir)
commands.append(SetupSymlinksCommand(context, recipe, finder))

commands.append(SetupRuntimeCommand(context, recipe, finder))
commands.append(SetupRuntimeCommand(context, finder))

commands.append(SetupAppInfoCommand(context))

Expand Down

0 comments on commit d693370

Please sign in to comment.