Skip to content

Commit c9a32b5

Browse files
missed '!'
1 parent 9393f60 commit c9a32b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/read_translation.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ set_prompt_conn <- function() {
8383
}
8484

8585
unset_prompt_conn <- function() {
86-
if (exists("prompt_conn", envir=.potools) && inherits(.potools$prompt_conn, "terminal"))
86+
if (exists("prompt_conn", envir=.potools) && !inherits(.potools$prompt_conn, "terminal"))
8787
close(.potools$prompt_conn)
8888
invisible()
8989
}

0 commit comments

Comments
 (0)