diff --git a/CHANGES.md b/CHANGES.md index 1a6b333b..dfc0d178 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ # Rojo Change Log ## Current Master -* *No changes* +* Fixed `rojo serve` failing to correctly construct an absolute root path when passed as an argument ## 0.3.1 * Improved error reporting when invalid JSON is found in a `rojo.json` project diff --git a/src/bin.rs b/src/bin.rs index 7242af14..4c42a4cf 100644 --- a/src/bin.rs +++ b/src/bin.rs @@ -85,7 +85,7 @@ fn main() { let sub_matches = sub_matches.unwrap(); let project_path = match sub_matches.value_of("PROJECT") { - Some(v) => PathBuf::from(v), + Some(v) => canonicalish(PathBuf::from(v)), None => std::env::current_dir().unwrap(), };