Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dar-rius committed Nov 7, 2022
1 parent ac197f6 commit 2eba94e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func addProjectActually(project *Project) {
func addProject(project *Project) {
//the environment variable is stored in a variable in order to create and find the path.json file in the directory where the app is located
filEnv := os.Getenv("gproject")
_, errs := os.OpenFile(filEnv+"/path.json", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
_, errs := os.OpenFile(filEnv+"\\path.json", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
if errs != nil {
panic(errs)
}
Expand Down
Binary file added gproject.exe
Binary file not shown.

0 comments on commit 2eba94e

Please sign in to comment.