From d5679be63fe396b5bcd2f01b76799a17a64a83d4 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 16 Jan 2017 11:30:06 -0500 Subject: Added ability to extract games. Initial code to delete games. Initial basic progress on a command line application. --- steam/steam.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'steam/steam.go') 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 } -- cgit v1.2.3