diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-01-16 11:30:06 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-01-16 11:30:06 -0500 |
| commit | d5679be63fe396b5bcd2f01b76799a17a64a83d4 (patch) | |
| tree | b32e44dc01738a7bbfd44e50ed8ef7b3d6ca667c /steam/steam.go | |
| parent | ab2338daadbb826063c1ff299a9e39bb41e40317 (diff) | |
| download | steam-export-d5679be63fe396b5bcd2f01b76799a17a64a83d4.tar.gz steam-export-d5679be63fe396b5bcd2f01b76799a17a64a83d4.tar.xz | |
Added ability to extract games. Initial code to delete games. Initial basic progress on a command line application.
Diffstat (limited to 'steam/steam.go')
| -rw-r--r-- | steam/steam.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/steam/steam.go b/steam/steam.go index 9715f38..ea27e5a 100644 --- a/steam/steam.go +++ b/steam/steam.go @@ -46,6 +46,8 @@ func (s *Library) ProcessLibrary(r string) error { s.Games = append(s.Games, f.Name()) } } + } else { + return errors.New(fmt.Sprintf("No common directory in: %s", r)) } return nil } |
