Skip to content

Commit e006a3a

Browse files
committed
Ingore shebang at top of file
Signed-off-by: Chojan Shang <[email protected]>
1 parent 79fa6f9 commit e006a3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datafusion-cli/src/exec.rs

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ pub async fn exec_from_lines(
7070

7171
for line in reader.lines() {
7272
match line {
73+
Ok(line) if line.starts_with("#!") => {
74+
continue;
75+
}
7376
Ok(line) if line.starts_with("--") => {
7477
continue;
7578
}

0 commit comments

Comments
 (0)