add escaped quotes handling

This commit is contained in:
David Refoua 2018-03-28 21:24:02 +04:30 committed by GitHub
parent 3aeca3c972
commit ae473ecea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ function Create-RC($version, $path) {
foreach ($fragment in $version) {
if ( !$fragment ) { break }
elseif ($index -lt $pattern.length) {
$resource = $resource.Replace( "{" + $pattern[$index++] + "}", $fragment )
$resource = $resource.Replace( "{" + $pattern[$index++] + "}", '"' + $fragment + '"' )
}
}