Commit Graph

3 Commits

Author SHA1 Message Date
Brian Wuchner
248a86f0a2 Fixing instances of sort with sort-object
Fixes #535 - module using sort instead of sort-object causing unexpected behavior on powershell core/Linux.
Instead of only addressing the issue at hand, I looked for other instances of sort being used instead of sort-object for other modules within this repo and corrected those as well.  I think I got most of them, but feel free to raise another issue if you find another.  If the sort was in an example/help statement, or was inside the logic/process of the function, I replaced sort with sort-object.  In the one case where the sort was only applied to the output I removed the statement -- this way the function user can add the sort in their script and not have to sort output twice.  I changed a couple  select/where with select-object/where-object along the way as well just as I saw them.

Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
2022-02-03 20:11:02 -05:00
Roman Gelman
0b69b0dbe1 Update Vi-Module.psm1
Hi Luc,
I have fixed all your remarks.
2016-08-03 16:28:49 +03:00
Roman Gelman
f40ca375a1 Vi-Module module
The Vi-Module module PSM1 file
2016-08-01 10:00:54 +03:00