From dbe669d03e791b5a2e2cb785d05beebffd017edc Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 14 May 2026 11:11:53 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Erro=20de=20execu=C3=A7=C3=A3o=20do=20sy?= =?UTF-8?q?nc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/automatizadores/bootstrap-workspace.ps1 | 4 ++-- .vscode/automatizadores/sync_vitruvio_zip.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/automatizadores/bootstrap-workspace.ps1 b/.vscode/automatizadores/bootstrap-workspace.ps1 index 3b00a66..4516979 100644 --- a/.vscode/automatizadores/bootstrap-workspace.ps1 +++ b/.vscode/automatizadores/bootstrap-workspace.ps1 @@ -1,10 +1,10 @@ -$ErrorActionPreference = 'Stop' - param( [string]$TargetDir, [switch]$Force ) +$ErrorActionPreference = 'Stop' + if ([string]::IsNullOrWhiteSpace($TargetDir)) { Write-Host "Uso: .vscode/automatizadores/bootstrap-workspace.ps1 [-Force]" exit 1 diff --git a/.vscode/automatizadores/sync_vitruvio_zip.ps1 b/.vscode/automatizadores/sync_vitruvio_zip.ps1 index 4e6d19a..0707ef2 100644 --- a/.vscode/automatizadores/sync_vitruvio_zip.ps1 +++ b/.vscode/automatizadores/sync_vitruvio_zip.ps1 @@ -1,10 +1,10 @@ -$ErrorActionPreference = 'Stop' - param( [string]$TargetDir, [string]$ExportUrl ) +$ErrorActionPreference = 'Stop' + if ([string]::IsNullOrWhiteSpace($TargetDir) -or [string]::IsNullOrWhiteSpace($ExportUrl)) { Write-Host "Uso: sync_vitruvio_zip.ps1 " exit 1