Skip to content

Commit 0e1e2dd

Browse files
committed
fix: resolve all remaining compilation errors
- Downgrade google_fonts from 6.1.0 to 5.1.0 for Flutter 3.16 compatibility - Fix compute_centrality import path in CLI - Fix error type conversion in serve command
1 parent c1dc81b commit 0e1e2dd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/arbor-cli/src/commands.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! CLI command implementations.
22
3-
use arbor_graph::ranking::compute_centrality;
3+
use arbor_graph::compute_centrality;
44
use arbor_server::{ArborServer, ServerConfig};
55
use arbor_watcher::index_directory;
66
use colored::Colorize;
@@ -154,7 +154,7 @@ pub async fn serve(port: u16, path: &Path) -> Result<()> {
154154
println!("{} Listening on ws://127.0.0.1:{}", "✓".green(), port);
155155
println!(" Press {} to stop", "Ctrl+C".cyan());
156156

157-
server.run().await?;
157+
server.run().await.map_err(|e| e.to_string())?;
158158

159159
Ok(())
160160
}

visualizer/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
sdk: flutter
1212
flutter_riverpod: ^2.4.0
1313
web_socket_channel: ^2.4.0
14-
google_fonts: ^6.1.0
14+
google_fonts: ^5.1.0
1515
vector_math: ^2.1.4
1616

1717
dev_dependencies:

0 commit comments

Comments
 (0)