Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13962284
D19728.id47138.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
689 B
Referenced Files
None
Subscribers
None
D19728.id47138.diff
View Options
Index: src/lint/linter/__tests__/ArcanistLinterTestCase.php
===================================================================
--- src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -87,14 +87,8 @@
$caught_exception = false;
try {
- $tmp = new TempFile($basename);
- Filesystem::writeFile($tmp, $data);
- $full_path = (string)$tmp;
-
- $mode = idx($config, 'mode', 0644);
- if ($mode) {
- Filesystem::changePermissions($tmp, octdec($mode));
- }
+ $mode = idx($config, 'mode', '0644');
+ $mode = octdec($mode);
$path_name = idx($config, 'path', $basename);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 16, 9:14 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716905
Default Alt Text
D19728.id47138.diff (689 B)
Attached To
Mode
D19728: [Wilds] Stop writing temporary files for linter tests
Attached
Detach File
Event Timeline
Log In to Comment