Skip to content

Commit f279e40

Browse files
authored
Do not use sudo for npm install in typespec automation init (Azure#40898)
1 parent 9673c5e commit f279e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/automation_init.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pip install setuptools==78.1.0 > /dev/null
99

1010
# install tsp-client globally (local install may interfere with tooling)
1111
echo Install tsp-client
12-
sudo npm install -g @azure-tools/[email protected] > /dev/null
12+
npm install -g @azure-tools/[email protected] > /dev/null
1313

1414
echo "{}" >> $2
1515
echo "[Generate] init success!!!"

0 commit comments

Comments
 (0)