Skip to content

Commit b1437ff

Browse files
committed
Remove newlines from JSON for Windows compatibility
1 parent 49fe41f commit b1437ff

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Test/MakerTestEnvironment.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,6 @@ private function addMakerBundleRepoToComposer(string $projectDirectory): void
433433
],
434434
];
435435

436-
MakerTestProcess::create([
437-
'composer', 'repo', 'add',
438-
$this->packageName,
439-
json_encode($repo, \JSON_THROW_ON_ERROR | \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES),
440-
], $projectDirectory)->run();
436+
MakerTestProcess::create(['composer', 'repo', 'add', $this->packageName, json_encode($repo)], $projectDirectory)->run();
441437
}
442438
}

0 commit comments

Comments
 (0)