We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783995c commit 921ff2fCopy full SHA for 921ff2f
src/commands/run.rs
@@ -41,6 +41,13 @@ pub async fn run_command(
41
run_command_prerequisite(&actual_path, stdlib_path, check_teal_code, extra_args).await;
42
spawn_termination_task();
43
44
+ // Remove the Shebang lines
45
+ let user_file = user_file
46
+ .lines()
47
+ .filter(|line| !line.starts_with("#!"))
48
+ .collect::<Vec<_>>()
49
+ .join("\n");
50
+
51
if let Some(is_teal) = PathBuf::from(&actual_path).extension()
52
&& is_teal == "tl"
53
{
0 commit comments