diff --git a/packages/shorebird_cli/lib/src/executables/ditto.dart b/packages/shorebird_cli/lib/src/executables/ditto.dart index 5fdc165fd..7597cf1d1 100644 --- a/packages/shorebird_cli/lib/src/executables/ditto.dart +++ b/packages/shorebird_cli/lib/src/executables/ditto.dart @@ -21,7 +21,7 @@ class Ditto { required String source, required String destination, }) async { - final result = await _exec(['-x', '-k', '"$source"', '"$destination"']); + final result = await _exec(['-x', '-k', source, destination]); if (result.exitCode != 0) { throw Exception('Failed to extract: ${result.stderr}'); } diff --git a/packages/shorebird_cli/test/src/executables/ditto_test.dart b/packages/shorebird_cli/test/src/executables/ditto_test.dart index cf69c4824..cfb59b39e 100644 --- a/packages/shorebird_cli/test/src/executables/ditto_test.dart +++ b/packages/shorebird_cli/test/src/executables/ditto_test.dart @@ -52,7 +52,7 @@ void main() { verify( () => process.run( 'ditto', - ['-x', '-k', '"$source"', '"$destination"'], + ['-x', '-k', source, destination], ), ).called(1); }); @@ -88,7 +88,7 @@ void main() { verify( () => process.run( 'ditto', - ['-x', '-k', '"$source"', '"$destination"'], + ['-x', '-k', source, destination], ), ).called(1); });