From 8b350edcdfc86faf193636774e4884b6ca43a09a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 20 Jan 2024 16:13:17 +0100 Subject: [PATCH] disable npm for non-sudo machine --- dot_config/topgrade.toml.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/topgrade.toml.tmpl b/dot_config/topgrade.toml.tmpl index dda5907..069dcf8 100644 --- a/dot_config/topgrade.toml.tmpl +++ b/dot_config/topgrade.toml.tmpl @@ -11,6 +11,9 @@ disable = [ {{- if eq .chezmoi.os "darwin" }} "vim", {{- end }} + {{- if not (get . "sudo") }} + "npm", + {{- end }} ] # Ignore failures for these steps