Skip to content

Commit 7283c52

Browse files
committed
Remove node script in favor of more optimized setting of local git config
1 parent 609f8e9 commit 7283c52

File tree

2 files changed

+4
-46
lines changed

2 files changed

+4
-46
lines changed

.devcontainer/setGitConfigUserName.js

-44
This file was deleted.

.devcontainer/setup.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
echo "🚀 Setting up Rushstack codespace..."
44

5-
echo "🔑 Setting up GitHub user config..."
6-
node ./.devcontainer/setGitConfigUserName.js ${GITHUB_USER}
5+
# Set local git config
6+
echo "🔑 Setting up local git config..."
7+
git config --local user.email ${GITHUB_USER}@users.noreply.github.com
8+
git config --local user.name "$(git config --system user.name)"
79

810
# Install Rush and Heft Dependencies
911
echo "📦 Installing Rush, Heft, & Prettier dependencies..."

0 commit comments

Comments
 (0)