Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Use default gps signal handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer authored and Edward Muller committed Jan 11, 2017
1 parent 36a0707 commit 9faa37b
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 52 deletions.
2 changes: 1 addition & 1 deletion lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"name": "github.com/sdboyer/gps",
"branch": "master",
"revision": "88027dbe5e8fb2a2764036d1858f498a9aa6bf1c",
"revision": "669a62fc8b4b2c48757f6ff89aeba9eb8f287a9c",
"packages": [
"."
]
Expand Down
1 change: 1 addition & 0 deletions remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (cmd *removeCommand) Run(args []string) error {
if err != nil {
return err
}
sm.UseDefaultSignalHandling()
defer sm.Release()

cpr, err := depContext.splitAbsoluteProjectRoot(p.absroot)
Expand Down
1 change: 1 addition & 0 deletions status.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (cmd *statusCommand) Run(args []string) error {
if err != nil {
return err
}
sm.UseDefaultSignalHandling()
defer sm.Release()

if cmd.detailed {
Expand Down
15 changes: 3 additions & 12 deletions vendor/github.com/sdboyer/gps/manager_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 32 additions & 39 deletions vendor/github.com/sdboyer/gps/source_manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9faa37b

Please sign in to comment.