Skip to content

Commit 4102b9f

Browse files
author
Qingqing Sun
committed
fix logic of Test-Path
1 parent 317395b commit 4102b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process_xplat_cli_content.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Function GetToc
3030
}
3131
ni $toc_path
3232
$conceptual = Join-Path $root_path "Conceptual"
33-
if(Test-Path $conceptual -and (ls $conceptual).count -ne 0)
33+
if((Test-Path $conceptual) -and (ls $conceptual).count -ne 0)
3434
{
3535
ac $toc_path "- name: Conceptual"
3636
ac $toc_path " items:"

0 commit comments

Comments
 (0)