Skip to content

Commit 1570375

Browse files
Merge pull request #18 from DevExpress-Examples/fix-minor-issues
Fix minor issues
2 parents ff90fca + 93de87e commit 1570375

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<!-- default badges list -->
2-
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/800447205/23.1.3%2B)
32
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1233410)
43
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
54
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)

TEMP/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

test-example.ps1

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -146,35 +146,12 @@ function Set-BuildVersion {
146146
Write-Output "New List: $updatedList"
147147
}
148148

149-
function Set-TestingFailed {
150-
$TempDirectory = Join-Path -Path $env:WORKSPACE -ChildPath "TEMP"
151-
if (-not (Test-Path -Path $TempDirectory)) {
152-
Write-Output "`nCreating a temp directory at $TempDirectory"
153-
New-Item -ItemType Directory -Path $TempDirectory | Out-Null
154-
}
155-
156-
$ReadmeFile = Join-Path -Path $TempDirectory -ChildPath "README.md"
157-
158-
$Content = "Example testing failed: [Example testing failed](https://example-testing-failed.com/)"
159-
Write-Output "`nWriting a file with invalid link to a temp directory at $TempDirectory"
160-
Set-Content -Path $ReadmeFile -Value $Content
161-
}
162-
163149
Write-Output "`nBranch Name: $env:branchName"
164150

165151
Set-BuildVersion
166-
if (-not $global:buildVersion) {
167-
Write-Output "`nThe buildVersion is null or an empty string."
168-
Set-TestingFailed
169-
[System.Environment]::Exit($global:errorCode)
170-
}
171152
Process-JavaScriptProjects -buildVersion $global:buildVersion
172153
Process-DotNetProjects
173154

174155
Write-Output "`nFinished testing. Error code: $global:errorCode"
175156

176-
if ($global:errorCode -ne 0) {
177-
Set-TestingFailed
178-
}
179-
180157
[System.Environment]::Exit($global:errorCode)

0 commit comments

Comments
 (0)