Skip to content

Commit

Permalink
only delete dll files
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 22, 2024
1 parent 0d689e9 commit ecb998b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dotNetAssembly.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ installRawFileReaderDLLs <-
rawfileReaderDLLsPath <- rawrrAssemblyPath()

if (isTRUE(dir.exists(rawfileReaderDLLsPath))){
msg <- sprintf("removing files in directory '%s'", rawfileReaderDLLsPath)
msg <- sprintf("removing DLL files in directory '%s'", rawfileReaderDLLsPath)
message(msg)

file.remove(file.path(rawrrAssemblyPath(),
list.files(rawrrAssemblyPath())))
list.files(rawrrAssemblyPath(), pattern="\\.dll$")))
}

if (isFALSE(dir.exists(rawfileReaderDLLsPath))){
Expand Down

0 comments on commit ecb998b

Please sign in to comment.