Fixed git ignore issue
This commit is contained in:
@@ -14,7 +14,7 @@ check_pacman_dir <- function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (file.exists(".gitignore")) {
|
if (file.exists(".gitignore")) {
|
||||||
if (length(grep(".pacman/", ".gitignore")) == 0) {
|
if (length(grep(".pacman/", readLines(".gitignore"))) == 0) {
|
||||||
con <- file(".gitignore", "a")
|
con <- file(".gitignore", "a")
|
||||||
writeLines("\n# pacman - package management folder\n.pacman/", con)
|
writeLines("\n# pacman - package management folder\n.pacman/", con)
|
||||||
close(con)
|
close(con)
|
||||||
|
|||||||
Reference in New Issue
Block a user