forked from rojo-rbx/rojo
Fix sourcemap command not stripping paths correctly (#544)
* Fix sourcemap command not stripping paths correctly * Use ServeSession to get the proper root dir to strip for sourcemap
This commit is contained in:
@@ -216,6 +216,10 @@ impl ServeSession {
|
||||
pub fn serve_address(&self) -> Option<IpAddr> {
|
||||
self.root_project.serve_address
|
||||
}
|
||||
|
||||
pub fn root_dir(&self) -> &Path {
|
||||
self.root_project.folder_location()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
|
||||
Reference in New Issue
Block a user