From c1100c92d0245cba5ac3aa1d261fc347ac17b3b5 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 24 Sep 2021 14:08:58 -0400 Subject: [PATCH] strip_shebang --- cli/file_fetcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 3e259ed54a..131685e491 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -213,7 +213,7 @@ pub fn map_content_type( } /// Remove shebangs from the start of source code strings -pub fn strip_shebang(mut value: String) -> String { +fn strip_shebang(mut value: String) -> String { if value.starts_with("#!") { if let Some(mid) = value.find('\n') { let (_, rest) = value.split_at(mid);