Configure ESLint and add it to CI

This commit is contained in:
Vitaliy Filippov
2024-04-16 02:39:31 +03:00
parent fd83fef1d9
commit 2c0801f6e4
10 changed files with 81 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ async function run()
const st = await fs.stat(options.device);
options.device_block_size = st.blksize;
if (st.isBlockDevice())
device_size = Number(await system("/sbin/blockdev --getsize64 "+options.device))
device_size = Number(await system("/sbin/blockdev --getsize64 "+options.device));
else
device_size = st.size;
}