class Importmap::Commands
def update
def update if (outdated_packages = npm.outdated_packages).any? pin(*outdated_packages.map(&:name)) else puts "No outdated packages found" end end
def update if (outdated_packages = npm.outdated_packages).any? pin(*outdated_packages.map(&:name)) else puts "No outdated packages found" end end