mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibCore: Rename File to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
committed by
Linus Groh
parent
14951b92ca
commit
d43a7eae54
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibTest/JavaScriptTestRunner.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
@@ -152,7 +153,7 @@ int main(int argc, char** argv)
|
||||
common_path = DeprecatedString::formatted("{}/Userland/Libraries/LibJS/Tests/test-common.js", serenity_source_dir);
|
||||
#endif
|
||||
}
|
||||
if (!Core::File::is_directory(test_root)) {
|
||||
if (!Core::DeprecatedFile::is_directory(test_root)) {
|
||||
warnln("Test root is not a directory: {}", test_root);
|
||||
return 1;
|
||||
}
|
||||
@@ -170,8 +171,8 @@ int main(int argc, char** argv)
|
||||
#endif
|
||||
}
|
||||
|
||||
test_root = Core::File::real_path_for(test_root);
|
||||
common_path = Core::File::real_path_for(common_path);
|
||||
test_root = Core::DeprecatedFile::real_path_for(test_root);
|
||||
common_path = Core::DeprecatedFile::real_path_for(common_path);
|
||||
|
||||
if (chdir(test_root.characters()) < 0) {
|
||||
auto saved_errno = errno;
|
||||
|
||||
Reference in New Issue
Block a user