You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This function does not modify the lockfile. It asserts that packages do not use SSH
// when specifying git repository
functionafterAllResolved(lockfile,context){
constpkgs=lockfile['packages'];
for(const[pkg,entry]ofObject.entries(pkgs)){
constrepo=entry.resolution['repo'];
if(repo!==undefined){
if(repo.startsWith('git@github.com')){
thrownewError(`Invalid git ssh specification found for package ${pkg}. Ensure sure that the dependencies do not reference SSH-based git repos before running installing them`);