Fixed error line
This commit is contained in:
+1
-1
@@ -179,5 +179,5 @@ pub fn get_line(
|
|||||||
.collect()
|
.collect()
|
||||||
});
|
});
|
||||||
|
|
||||||
lines.get(msg.line).map(|v| v.trim().to_string())
|
lines.get(msg.line - 1).map(|v| v.trim().to_string())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user