Skip to content

Commit c3fd9a4

Browse files
committed
Revert gitignore package-lock, fix #115
Remove package-lock.json from gitignore for npm Fix bug in #115 that modified user's gitconfig when running tests
1 parent 5b815cb commit c3fd9a4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node_modules/
22
sandboxrepo
33
git-open.1
4-
package-lock.json

test/git-open.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ setup() {
4040
##
4141

4242
@test "url: insteadOf handling" {
43-
git config --global url.http://example.com/.insteadOf ex:
43+
git config --local url.http://example.com/.insteadOf ex:
4444
git remote set-url origin ex:example.git
4545
git checkout -B master
4646
run ../git-open

0 commit comments

Comments
 (0)