Atom . command does not open current directory


OS: Winodws 7 64 bit
Atom Version - 1.23.1

on command line entering atom . does not open the atom in the current directory.
Directory i see is C:\Users\XXXXXX\AppData\Local\atom\app-1.23.1

This behaves as this is the default atom folder which will open no matter i type atom . from any directory.

What might be causing this issue? I observed developer tools and i do not see any error but one warning as below

IntersectionObserver.observe(target): target element is not a descendant of root.
TreeView @ <embedded>:122211


If you run atom --safe . does that work?

Also, if you run atom directoryName (where directoryName is the name of some project directory you want to open in Atom), does that work?

Lastly, can you share a GIF/screencast that shows this behavior all the way from the first step where you run atom .?