Skip to content

Commit 137d5f6

Browse files
committed
Stick to v105 for arduino core files version when removing paths, for now.
1 parent fcbeb7f commit 137d5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ private function pathRemover ($output, $compiler_config) {
12561256

12571257
// Remove any instance of codebender arduino core files folder name from the text
12581258
// $modified = preg_replace($core_pattern, '', $modified);
1259-
$modified = str_replace($compiler_config["arduino_cores_dir"], '', $modified);
1259+
$modified = str_replace($compiler_config["arduino_cores_dir"] . "/v105/", '', $modified);
12601260

12611261
// Remove any instance of codebender external core file folder name from the text
12621262
// $modified = preg_replace($external_core_pattern, '', $modified);

0 commit comments

Comments
 (0)