Skip to content

Commit 8b6b995

Browse files
committed
simplify test for awk
1 parent ee12b8d commit 8b6b995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/auk-set-awk-path.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ auk_set_awk_path <- function(path, overwrite = FALSE) {
3434
error = function(e) list(result = NULL),
3535
warning = function(e) list(result = NULL)
3636
)
37-
if (is.null(awk_test$result) || awk_test$result == "") {
37+
if (is.null(awk_test$result)) {
3838
stop("Specified AWK_PATH doesn't contain a valid AWK executable.")
3939
}
4040

0 commit comments

Comments
 (0)