From e2ecb730f8b4c0e27332848cb7b59d03973c97ff Mon Sep 17 00:00:00 2001 From: Alex Li Date: Tue, 5 Dec 2023 22:05:02 +0800 Subject: [PATCH] Update prepare_for_embedded.dart --- pkgs/cronet_http/tool/prepare_for_embedded.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/cronet_http/tool/prepare_for_embedded.dart b/pkgs/cronet_http/tool/prepare_for_embedded.dart index 4038b68e87..9f423fc14b 100644 --- a/pkgs/cronet_http/tool/prepare_for_embedded.dart +++ b/pkgs/cronet_http/tool/prepare_for_embedded.dart @@ -100,8 +100,8 @@ void updatePubSpec() { fPubspec.writeAsStringSync(yamlEditor.toString()); final examplePubspec = File('${_packageDirectory.path}/pubspec.yaml'); final replaced = examplePubspec - .readAsStringSync() - .replaceAll('cronet_http:', 'cronet_http_embedded:'); + .readAsStringSync() + .replaceAll('cronet_http:', 'cronet_http_embedded:'); examplePubspec.writeAsStringSync(replaced); }