appsv2: moar fixes for v1->v2 upgrade not getting the proper env context

This commit is contained in:
Alexandre Aubin 2023-02-04 18:46:33 +01:00
parent 8485ebc75a
commit fb54da2e35

View file

@ -179,7 +179,7 @@ class AppResource:
tmpdir = _make_tmp_workdir_for_app(app=self.app)
env_ = _make_environment_for_app_script(
self.app, workdir=tmpdir, action=f"{action}_{self.type}"
self.app, workdir=tmpdir, action=f"{action}_{self.type}", include_app_settings=True,
)
env_.update(env)