-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime error: invalid memory address or nil pointer dereference #5
Comments
func banner() {
if runtime.GOOS == "windows" {
print(BasicBanner, "R")
} else {
powerlineFonts, err := exec.Command("fc-list").Output()
parseErr(err)
if strings.Contains(string(powerlineFonts), "Powerline") {
print(BANNER, "R")
} else {
print(BasicBanner, "R")
}
}
//BoldRed.Print(BANNER)
BoldBlue.Print("# Version: ")
BoldGreen.Println(VERSION)
BoldBlue.Print("# Author: ")
BoldGreen.Println("Ege Balcı")
BoldBlue.Print("# Source: ")
BoldGreen.Println("github.com/egebalci/amber")
} macos haven't this command |
It'll be fixed in the next release thanks for pointing out. |
I havenot tested it yet but i will according to the member above's error |
In couple of months i hope :) |
Got it!BTW, Awesome project! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System: Macos mojave
Error:
The text was updated successfully, but these errors were encountered: