1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

LibJS: Rename filepath to filename in module related code

This is already the parameter name of Core::File::open() and
VM::get_stored_module() - both of which this is passed to - as well as
the member name of the Module class.
This commit is contained in:
Linus Groh 2022-06-26 20:58:32 +01:00
parent 893978ea89
commit 2b3dd87296
2 changed files with 20 additions and 20 deletions

View file

@ -270,13 +270,13 @@ private:
struct StoredModule {
ScriptOrModule referencing_script_or_module;
String filepath;
String filename;
String type;
NonnullRefPtr<Module> module;
bool has_once_started_linking { false };
};
StoredModule* get_stored_module(ScriptOrModule const& script_or_module, String const& filepath, String const& type);
StoredModule* get_stored_module(ScriptOrModule const& script_or_module, String const& filename, String const& type);
Vector<StoredModule> m_loaded_modules;