Skip to content

Commit

Permalink
Refactor inline temp
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsutherland committed Aug 30, 2018
1 parent 8dbfcb5 commit e646bc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workspace/solution.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ type Solution struct {

// NewSolution reads solution metadata from a file in the given directory.
func NewSolution(dir string) (*Solution, error) {
path := filepath.Join(dir, metadataFilepath)
b, err := ioutil.ReadFile(path)
b, err := ioutil.ReadFile(filepath.Join(dir, metadataFilepath))
if err != nil {
return &Solution{}, err
}
Expand Down

0 comments on commit e646bc8

Please sign in to comment.