Gary Ewan Park
Gary Ewan Park
@ferventcoder out of interest, why the check for this?
@ferventcoder thoughts on this one? Requirement, note, guideline, suggestion
@ferventcoder so when you say override get-webfile, you are talking about the PowerShell Cmdlet, right? How exactly can we override that method in the context of the package validator? Can...
@ferventcoder just putting it out there... Could we just check the whole nuspec for email address, and fail if one is found? Is there a compelling reason to allow email...
@ferventcoder So fail validation on direct usage of: - $env:ChocolateyBinRoot - $env:ChocolateyToolsLocation - $env:chocolatey_bin_root Any others?
@ferventcoder the Tokenize method isn't working how I would expect it to, or I haven't written the test correctly. I "think" I have given it some invalid PowerShell, but the...
> @ferventcoder said... > It's a good start - now test with package splatting @packageArgs. Will do :+1:
@ferventcoder ah, good shout! I think I have corrected the logic flow. Let me know if you spot any other problems.
@ferventcoder just away to head for the night, but will follow up with any comments in the morning. Let me know what you think.
@ferventcoder as a start (work still required) is the second commit the type of thing that you had in mind?