forked from microsoft/ReportingServicesTools
 
 
 - 
  Notifications
 You must be signed in to change notification settings 
- Fork 1
Commit f65506e
Update Out-RsFolderContent.ps1
Loop for folders first, because we need to ensure folders are written to disk before we
attempt to write any files. Otherwise, file writes will randomly fail to write because
its folder has not been created yet.
The Solution was to loop and create all folders then work on the files.
Basically, create all folders, then write all the files.1 parent 5ddfa89 commit f65506e
File tree
1 file changed
+12
-2
lines changed- ReportingServicesTools/Functions/CatalogItems
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 86 | 86 |  | |
| 87 | 87 |  | |
| 88 | 88 |  | |
| 89 | + | ||
| 90 | + | ||
| 91 | + | ||
| 92 | + | ||
| 93 | + | ||
| 89 | 94 |  | |
| 90 | 95 |  | |
| 91 | 96 |  | |
|  | |||
| 102 | 107 |  | |
| 103 | 108 |  | |
| 104 | 109 |  | |
| 105 | - | ||
| 110 | + | ||
| 111 | + | ||
| 112 | + | ||
| 113 | + | ||
| 114 | + | ||
| 106 | 115 |  | |
| 107 | 116 |  | |
| 108 | 117 |  | |
| 109 | 118 |  | |
| 110 | 119 |  | |
| 111 | 120 |  | |
| 121 | + | ||
| 112 | 122 |  | |
| 113 | 123 |  | |
| 114 | 124 |  | |
|  | |||
| 122 | 132 |  | |
| 123 | 133 |  | |
| 124 | 134 |  | |
| 125 | - | ||
| 135 | + | ||
| 126 | 136 |  | |
0 commit comments