majkinetor / au

Chocolatey Automatic Package Updater Module
GNU General Public License v2.0
227 stars 72 forks source link

Build failing due to last changes #130

Closed majkinetor closed 6 years ago

majkinetor commented 6 years ago

Something done in the last merge makes the build to fail.

    Context Checks
1740
      [-] verifies semantic version 1.71s
1741
        Expected an exception, with message 'Invalid version' to be thrown, but the message was 'Choco pack failed with exit code 1'. from C:\projects\au\AU\Public\Update-Package.ps1:256 char:40
1742
            + ... ode -ne 0) { throw "Choco pack failed with exit code $LastExitCode" }
1743
            +                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1744
        178:                 { update } | Should Throw "Invalid version"
1745
        at Invoke-LegacyAssertion, C:\Program Files\WindowsPowerShell\Modules\Pester\4.3.1\Functions\Assertions\Should.ps1: line 188
1746
        at <ScriptBlock>, C:\projects\au\tests\Update-Package.Tests.ps1: line 178
1747
      [+] throws if latest URL is non existent 113ms
1748
      [+] throws if latest URL ContentType is text/html 122ms

/cc @Thilas

Thilas commented 6 years ago

On it. I completely missed this error.

Thilas commented 6 years ago

Done. Waiting for validation on next build.

majkinetor commented 6 years ago

Great. Thanks m8.