From fb1477c2bc869af1d031590b6016f30f47f5a648 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Thu, 5 Oct 2023 16:11:24 -0400 Subject: [PATCH] fix(shorebird_cli): use path separator when setting channel in aab (#1370) --- packages/shorebird_cli/lib/src/commands/preview_command.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shorebird_cli/lib/src/commands/preview_command.dart b/packages/shorebird_cli/lib/src/commands/preview_command.dart index f4cfd6898..889b5517b 100644 --- a/packages/shorebird_cli/lib/src/commands/preview_command.dart +++ b/packages/shorebird_cli/lib/src/commands/preview_command.dart @@ -418,7 +418,7 @@ class PreviewCommand extends ShorebirdCommand { if (file is File) { await encoder.addFile( file, - file.path.replaceFirst('$outputPath/', ''), + file.path.replaceFirst('$outputPath${p.separator}', ''), ); } }