-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit 7949e7e
committed
Randomize temporary sketch copy directory name
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.
Previously, the name of this directory contained a hash of the main
sketch filename, so the same directory would be used between builds. Now
that this directory is deleted after every build, it can just use a
randomized directory name, which is what this commit does.
Addtionally, the prefix used for generating the name is changed from
"arduino_" to "arduino_modified_sketch_" to make it slightly clearer
what the directory is for (just in case it somehow survives the build,
or a user sees it during the build).1 parent 1029e0b commit 7949e7e
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1119 | 1119 |
| |
1120 | 1120 |
| |
1121 | 1121 |
| |
1122 | - | ||
1122 | + | ||
1123 | 1123 |
| |
1124 | 1124 |
| |
1125 | 1125 |
| |
|
0 commit comments