Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

use filepath.Join instead of concatenating strings #37

@nhooyr

Description

@nhooyr

At

go2nix/cli.go

Line 57 in df946b0

if strings.HasPrefix(currDir, goPathDir+"/src/") {

This will cause an error if GOPATH=~/go/ (the trailing slash).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions