From bc80b2d71710c13d1b51f20df2c31141407f5401 Mon Sep 17 00:00:00 2001 From: Maikel Rehl Date: Mon, 10 Jun 2024 15:23:52 +0200 Subject: [PATCH] Initialize Puro for puro command --- puro_sidekick_plugin/lib/src/puro.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/puro_sidekick_plugin/lib/src/puro.dart b/puro_sidekick_plugin/lib/src/puro.dart index ddf8478..a4542d5 100644 --- a/puro_sidekick_plugin/lib/src/puro.dart +++ b/puro_sidekick_plugin/lib/src/puro.dart @@ -1,4 +1,5 @@ import 'package:dcli/dcli.dart' as dcli; +import 'package:puro_sidekick_plugin/puro_sidekick_plugin.dart'; import 'package:sidekick_core/sidekick_core.dart'; /// Executes Flutter CLI via puro @@ -14,6 +15,8 @@ int puro( final workingDir = entryWorkingDirectory.absolute; final installDir = installDirectory ?? SidekickContext.sidekickPackage.buildDir; + initializePuro(workingDir); + final puroPath = getPuroPath(installDir); if (puroPath == null) {