fix node metadata script

This commit is contained in:
anthorob committed 2025-07-12 11:45:58 -04:00
1 parent fc684796b2
commit c54379172f
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ module "php_workspace" {
{
display_name = "Node.js Version"
key = "node_version"
script = "node -v 2>/dev/null || echo 'Node not installed'"
script = "[ -s $NVM_DIR/nvm.sh ] && . $NVM_DIR/nvm.sh && node -v 2>/dev/null || echo 'Node not installed'"
interval = 60
timeout = 1
}