Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions source/AzureDevOpsDsc.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
RootModule = 'AzureDevOpsDsc.psm1'

# Version number of this module.
moduleVersion = '0.0.0'
moduleVersion = '0.3.0'

# ID used to uniquely identify this module
GUID = '3f8bbada-0fa9-4d80-b3d8-f019c3c60230'
Expand Down Expand Up @@ -38,9 +38,13 @@
AliasesToExport = @()

# Import all the 'DSCClassResource', modules as part of this module
NestedModules = @()
NestedModules = @(
'Modules\DscResource.Common\0.19.0\DscResource.Common.psd1',
'Modules\AzureDevOpsDsc.Common\AzureDevOpsDsc.Common.psd1'
)

DscResourcesToExport = @()

DscResourcesToExport = @('AzDevOpsProject')

RequiredAssemblies = @()

Expand Down
1 change: 0 additions & 1 deletion source/Classes/010.AzDevOpsProject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class AzDevOpsProject : AzDevOpsDscResourceBase
[System.String]$ProjectDescription

[DscProperty()]
[ValidateSet('Git', 'Tfvc')]
[System.String]$SourceControlType
Comment thread
mimachniak marked this conversation as resolved.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'Set-AzDevOpsProject',
'Remove-AzDevOpsProject',
'Test-AzDevOpsProject'

)

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,5 @@ function Test-AzDevOpsPat
$IsValid
)

return !([System.String]::IsNullOrWhiteSpace($Pat) -or
$Pat.Length -ne 52) # Note: 52 is the current/expected length of PAT
return !([System.String]::IsNullOrWhiteSpace($Pat))
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
Loading