From 27238d4f273305e9fa8fd47ea3d7bf981cc51245 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 2 Aug 2023 15:19:37 -0700 Subject: [PATCH] update_bindings: delete src should only delete lib/src/dom (#66) --- tool/update_bindings.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/update_bindings.dart b/tool/update_bindings.dart index 07600025..05652a26 100644 --- a/tool/update_bindings.dart +++ b/tool/update_bindings.dart @@ -46,7 +46,7 @@ $_usage'''); // Run app with `node`. if (argResult['delete-src'] as bool) { // TODO(dart-lang/web#28): file cleanup should happen in the tool itself - final srcDir = Directory(p.join(p.current, 'lib', 'src')); + final srcDir = Directory(p.join(p.current, 'lib', 'src', 'dom')); if (srcDir.existsSync()) { srcDir.deleteSync(recursive: true);