Skip to content

Commit 0c4efdc

Browse files
committed
Make unescaped_slashes a default
1 parent bbd9652 commit 0c4efdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Repository/VersionProviderFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getProvider(string $type, array $config, string $workingDirector
5454
key: $config['key'],
5555
workingDirectory: $workingDirectory,
5656
pretty_print: ($config['pretty'] ?? 'true') == 'true',
57-
unescaped_slashes: ($config['unescaped_slashes'] ?? 'false') == 'true',
57+
unescaped_slashes: ($config['unescaped_slashes'] ?? 'true') == 'true',
5858
);
5959

6060
default:

app/Repository/VersionProviders/JsonVersionProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(
2020
public string $key,
2121
string $workingDirectory,
2222
public bool $pretty_print = true,
23-
public bool $unescaped_slashes = false,
23+
public bool $unescaped_slashes = true,
2424
)
2525
{
2626
$this->filename = $this->getFilePath($filename, $workingDirectory);

0 commit comments

Comments
 (0)