Skip to content

Commit 77b2b43

Browse files
committed
fix: correct logic for file.exists
1 parent 94355c0 commit 77b2b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pw-init.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pw_init <- function(
2525
with_dir(
2626
where,
2727
{
28-
if (file.exists(here("app.R"))) {
28+
if (!file.exists(here("app.R"))) {
2929
add_positconnect_file(open = FALSE)
3030
}
3131
if (!dir_exists("tests")) {

0 commit comments

Comments
 (0)