Skip to content

PSScriptAnalyser misreporting #1432

Closed
Closed
@ghost

Description

Issue Type: Bug

If statements comparing with $null aren't evaluated properly

if($Credential.UserName -ne $null) labelled as null on wrong side of operator

Several instances of "trailing whitespace' yet none exists

Extension version: 1.8.1
VS Code version: Code 1.25.0 (0f080e5267e829de46638128001aeb7ca2d6d50e, 2018-07-05T13:11:11.248Z)
OS version: Windows_NT ia32 10.0.14393

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-2643 0 @ 3.30GHz (2 x 3292)
GPU Status 2d_canvas: unavailable_software
flash_3d: unavailable_software
flash_stage3d: unavailable_software
flash_stage3d_baseline: unavailable_software
gpu_compositing: unavailable_software
multiple_raster_threads: disabled_off
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: unavailable_software
video_encode: unavailable_software
vpx_decode: unavailable_software
webgl: unavailable_off
webgl2: unavailable_off
Memory (System) 4.00GB (1.23GB free)
Process Argv C:\Program Files (x86)\Microsoft VS Code\Code.exe D:\github\At-A-Glance
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions