mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
fix powershell action preference
This commit is contained in:
parent
600d00e3e1
commit
c2bbfb9312
4
venv.ps1
4
venv.ps1
|
@ -1,10 +1,10 @@
|
||||||
$ErrorActionPreference = "Stop"
|
|
||||||
|
|
||||||
param (
|
param (
|
||||||
[string]$python = $(throw "-python is required."),
|
[string]$python = $(throw "-python is required."),
|
||||||
[string]$install_mode = $(throw "-install_mode is required."),
|
[string]$install_mode = $(throw "-install_mode is required."),
|
||||||
[string]$pip_date
|
[string]$pip_date
|
||||||
)
|
)
|
||||||
|
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
if(!(Test-Path -Path ".build"))
|
if(!(Test-Path -Path ".build"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user