summaryrefslogtreecommitdiff
path: root/scripts/dev/dev_deploy.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/dev_deploy.ps1')
-rw-r--r--scripts/dev/dev_deploy.ps18
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/dev/dev_deploy.ps1 b/scripts/dev/dev_deploy.ps1
index 8e3a8e9..688b8d1 100644
--- a/scripts/dev/dev_deploy.ps1
+++ b/scripts/dev/dev_deploy.ps1
@@ -7,9 +7,13 @@ $scriptDir = Split-Path $scriptPath -Parent
# Run script to hide ignored files
$hideScriptPath = Join-Path $scriptDir "hide_ignored_file.ps1"
if (Test-Path $hideScriptPath) {
- & $hideScriptPath
+ try {
+ & $hideScriptPath
+ } catch {
+ Write-Warning "Run `"hide_ignored_file.ps1`" failed"
+ }
} else {
- Write-Warning "hide_ignored_file.ps1 not found at $hideScriptPath"
+ Write-Warning "Script `"hide_ignored_file.ps1`" not found at $hideScriptPath"
}
Set-Location (Join-Path $scriptDir "..\..")