mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
LibJS+LibLine: Run clang-format
This commit is contained in:
parent
92e0378dbd
commit
88e7d44cc4
3 changed files with 3 additions and 3 deletions
|
@ -9,8 +9,8 @@
|
|||
#include <AK/String.h>
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Heap/Cell.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibJS/Runtime/Utf16String.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
@ -31,6 +31,7 @@ public:
|
|||
bool has_utf16_string() const { return m_has_utf16_string; }
|
||||
|
||||
Optional<Value> get(GlobalObject&, PropertyKey const&) const;
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "PrimitiveString"; }
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ void Editor::get_terminal_size()
|
|||
// terminal which is far from useful
|
||||
if (int fd = open("/dev/tty", O_RDONLY); fd != -1) {
|
||||
ioctl(fd, TIOCGWINSZ, &ws);
|
||||
close (fd);
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
m_num_columns = ws.ws_col;
|
||||
|
|
|
@ -37,7 +37,6 @@ bool is_an_array_index(JS::PropertyKey const& property_name)
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
// 8. Return true.
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue