Skip to main content

write_package_lock

Function write_package_lock 

Source
pub fn write_package_lock(
    lock_path: &Path,
    package_json_path: &Path,
    tree: &HashMap<String, ResolvedPackage>,
) -> Result<(), String>
Expand description

Write package-lock.json to the given path.