mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-20 17:00:56 +02:00
refactor: drop eslint config love (#1341)
* Drop eslint config love * More eqeqeq * Even more
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -226,9 +226,9 @@ function parseFileInfo(r: UnparsedFileInfo): FileInfo {
|
||||
isDirectory: r.isDirectory,
|
||||
isSymlink: r.isSymlink,
|
||||
size: r.size,
|
||||
mtime: r.mtime != null ? new Date(r.mtime) : null,
|
||||
atime: r.atime != null ? new Date(r.atime) : null,
|
||||
birthtime: r.birthtime != null ? new Date(r.birthtime) : null,
|
||||
mtime: r.mtime !== null ? new Date(r.mtime) : null,
|
||||
atime: r.atime !== null ? new Date(r.atime) : null,
|
||||
birthtime: r.birthtime !== null ? new Date(r.birthtime) : null,
|
||||
readonly: r.readonly,
|
||||
fileAttributes: r.fileAttributes,
|
||||
dev: r.dev,
|
||||
@@ -759,7 +759,7 @@ async function readTextFileLines(
|
||||
path: pathStr,
|
||||
rid: null as number | null,
|
||||
async next(): Promise<IteratorResult<string>> {
|
||||
if (this.rid == null) {
|
||||
if (this.rid === null) {
|
||||
this.rid = await invoke<number>("plugin:fs|read_text_file_lines", {
|
||||
path: pathStr,
|
||||
options,
|
||||
|
||||
Reference in New Issue
Block a user