From 8bc2e3624431bf924d2196903568d5a6bca21f99 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Tue, 5 Dec 2023 21:42:08 +0800 Subject: [PATCH] Update prepare_for_embedded.dart --- pkgs/cronet_http/tool/prepare_for_embedded.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/cronet_http/tool/prepare_for_embedded.dart b/pkgs/cronet_http/tool/prepare_for_embedded.dart index a13f4c333b..d7541f0e88 100644 --- a/pkgs/cronet_http/tool/prepare_for_embedded.dart +++ b/pkgs/cronet_http/tool/prepare_for_embedded.dart @@ -97,7 +97,7 @@ void updatePubSpec() { fPubspec.writeAsStringSync(yamlEditor.toString()); final examplePubspec = File('${_packageDirectory.path}/pubspec.yaml'); final replaced = examplePubspec.readAsStringSync().replaceAll( - 'cronet_http:' + 'cronet_http:', 'cronet_http_embedded:', ); examplePubspec.writeAsStringSync(replaced);