File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -969,6 +969,8 @@ class DBOpsFile : DBOps {
969
969
}
970
970
[string ] GetPackagePath() {
971
971
$pPath = $this.PackagePath
972
+ # removing odd symbols
973
+ $pPath = $pPath -replace ' :' , ' '
972
974
if ($this.Parent ) {
973
975
if ($parentPath = $this.Parent.GetPackagePath ()) {
974
976
$pPath = Join-Path $this.Parent.GetPackagePath () $pPath
@@ -978,6 +980,8 @@ class DBOpsFile : DBOps {
978
980
}
979
981
[string ] GetDeploymentPath () {
980
982
$dPath = $this.PackagePath
983
+ # removing odd symbols
984
+ $dPath = $dPath -replace ' :' , ' '
981
985
if ($this.Parent ) {
982
986
if ($parentPath = $this.Parent.GetDeploymentPath ()) {
983
987
$dPath = Join-Path $this.Parent.GetDeploymentPath () $dPath
Original file line number Diff line number Diff line change 35
35
# replace ^.\ ^./ ^\\ and :
36
36
$slash = [IO.Path ]::DirectorySeparatorChar
37
37
$slashRegex = [Regex ]::Escape(" .$slash " )
38
- $pkgPath = $pkgPath -replace " ^$slashRegex |^\\\\|: " , ' '
38
+ $pkgPath = $pkgPath -replace " ^$slashRegex |^\\\\" , ' '
39
39
[DBOpsFile ]::new($childItem , $pkgPath , $true )
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments