Compare commits

..

No commits in common. "master" and "v0.0.8" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View File

@ -7,7 +7,7 @@ task('dotnet_set_env', ['always' => true], function() {
}); });
task('dotnet_install', function(array $args) { task('dotnet_install', function(array $args) {
DotnetSupport::installEx(isset($args[0]) && $args[0] === '--force'); DotnetSupport::install(isset($args[0]) && $args[0] === '--force');
}); });
function dotnet_shell($cmd) function dotnet_shell($cmd)

View File

@ -7,13 +7,7 @@ class DotnetSupport
{ {
const VERSION = "8.0.0"; const VERSION = "8.0.0";
//NOTE: this is a composer event, it doesn't accept any arguments static function install(bool $force = false)
static function install()
{
self::installEx(false);
}
static function installEx(bool $force = false)
{ {
$version = self::VERSION; $version = self::VERSION;