Replaced ContainsRune() usage with IndexRune() for portability

This commit is contained in:
Julien Kauffmann 2017-01-24 09:08:30 -05:00
parent 4257721a8b
commit 1803d14360

View file

@ -119,7 +119,7 @@ func absPathify(inPath string) string {
inPath = filepath.FromSlash(inPath)
if strings.ContainsRune(inPath, '$') {
if strings.IndexRune(inPath, '$') >= 0 {
inPath = os.Expand(inPath, getEnv)
}