Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13999028
D19728.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D19728.diff
View Options
diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/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
Fri, Oct 25, 12:28 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6748257
Default Alt Text
D19728.diff (687 B)
Attached To
Mode
D19728: [Wilds] Stop writing temporary files for linter tests
Attached
Detach File
Event Timeline
Log In to Comment