From 5bb9c04f391ed0c43b30458a15c0a7b6a7f5b7dd Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 28 Sep 2022 17:41:11 -0400 Subject: [PATCH] Recursive is probs overkill (#33) --- action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.js b/action.js index a0eb963e..54dcba8f 100644 --- a/action.js +++ b/action.js @@ -10,7 +10,7 @@ try { // we build to /opt and special case this action so people new to // building aren’t immediatelyt flumoxed if (PREFIX == '/opt' && os.platform == 'darwin') { - execSync('sudo chown -R $(whoami):staff /opt') + execSync('sudo chown $(whoami):staff /opt') } let out = execSync(`${__dirname}/install.sh`, {