Skip to content

Commit

Permalink
Initialize Puro for puro command
Browse files Browse the repository at this point in the history
  • Loading branch information
rehlma committed Jun 10, 2024
1 parent 114582d commit bc80b2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions puro_sidekick_plugin/lib/src/puro.dart
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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) {
Expand Down

0 comments on commit bc80b2d

Please sign in to comment.