﻿$ErrorActionPreference = "Stop";
scriptcs -cl
rm scriptcs_packages.config
scriptcs -i ScriptCs.Octokit -P $args[0] -pre
scriptcs sample.csx
exit $LASTEXITCODE
﻿$ErrorActionPreference = "Stop";
scriptcs -cl
if (Test-Path scriptcs_packages.config) {
    rm scriptcs_packages.config
}
scriptcs -i ScriptCs.Octokit -P $args[0] -pre
scriptcs sample.csx
exit $LASTEXITCODE
Check scriptcs_packages.config exists before deleting
Check scriptcs_packages.config exists before deleting
