mirror of
https://github.com/coder/code-server.git
synced 2026-05-30 00:49:32 +00:00
Remove block padding (blank lines)
Also made a rule for it.
This commit is contained in:
@@ -3,7 +3,7 @@ import * as util from "util";
|
||||
|
||||
const oldAccess = fs.access;
|
||||
const existsWithinBinary = (path: fs.PathLike): Promise<boolean> => {
|
||||
return new Promise<boolean>((resolve) => {
|
||||
return new Promise<boolean>((resolve): void => {
|
||||
if (typeof path === "number") {
|
||||
if (path < 0) {
|
||||
return resolve(true);
|
||||
@@ -18,7 +18,7 @@ const existsWithinBinary = (path: fs.PathLike): Promise<boolean> => {
|
||||
});
|
||||
};
|
||||
|
||||
export const fillFs = () => {
|
||||
export const fillFs = (): void => {
|
||||
/**
|
||||
* Refer to https://github.com/nexe/nexe/blob/master/src/fs/patch.ts
|
||||
* For impls
|
||||
|
||||
Reference in New Issue
Block a user