find_project_root

Function find_project_root 

Source
pub fn find_project_root(start_dir: &Path) -> Result<PathBuf>
Expand description

Find the project root (directory containing package.json).

ยงErrors

Returns an error if no package.json is found.