Merge pull request #1803 from rtfeldman/launch-editor-arg-fix

launch_editor arg fix
This commit is contained in:
Richard Feldman 2021-10-21 07:17:47 -04:00 committed by GitHub
commit 51de420ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +189,6 @@ fn launch_editor(project_dir_path: Option<&Path>) -> io::Result<()> {
}
#[cfg(not(feature = "editor"))]
fn launch_editor(_filepaths: &[&Path]) -> io::Result<()> {
fn launch_editor(_project_dir_path: Option<&Path>) -> io::Result<()> {
panic!("Cannot launch the editor because this build of roc did not include `feature = \"editor\"`!");
}