Skip to content

Commit c204f81

Browse files
committed
Fix directory detection
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
1 parent fd40b5a commit c204f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ del _pe_os
13101310
throw new Error(error);
13111311
}
13121312

1313-
return data === "True";
1313+
return data.trim() === "True";
13141314
}
13151315

13161316
/**

0 commit comments

Comments
 (0)