From 2b7e145e56c7f1fbb4498d4ec6c6f9d237405db7 Mon Sep 17 00:00:00 2001 From: scarf Date: Tue, 28 Nov 2023 00:32:12 +0900 Subject: feat(fmt): support formatting code blocks in Jupyter notebooks (#21310) --- cli/build.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cli/build.rs') diff --git a/cli/build.rs b/cli/build.rs index 01505653a..4a481885e 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -359,11 +359,7 @@ fn create_cli_snapshot(snapshot_path: PathBuf) -> CreateSnapshotOutput { // Ideally we could deduplicate that code. fn deno_version() -> String { if env::var("DENO_CANARY").is_ok() { - format!( - "{}+{}", - env!("CARGO_PKG_VERSION"), - git_commit_hash()[..7].to_string() - ) + format!("{}+{}", env!("CARGO_PKG_VERSION"), &git_commit_hash()[..7]) } else { env!("CARGO_PKG_VERSION").to_string() } -- cgit v1.2.3