diff options
author | Axetroy <axetroy.dev@gmail.com> | 2019-06-19 12:22:01 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-18 21:22:01 -0700 |
commit | c85b1c06a9804ad41fbccf8fe5a5689f28eb049e (patch) | |
tree | e855fc7c02baaa219aa81a2a54a69b19c1fb3716 /fs/ensure_file.ts | |
parent | d6e92582cc2267210f71e893b14672783301f87b (diff) |
lint: add max line length rules (denoland/deno_std#507)
Original: https://github.com/denoland/deno_std/commit/b04fda30c8949b6347094b898bfa427c0b9a6162
Diffstat (limited to 'fs/ensure_file.ts')
-rw-r--r-- | fs/ensure_file.ts | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/ensure_file.ts b/fs/ensure_file.ts index 6fe8e7822..d749b95e4 100644 --- a/fs/ensure_file.ts +++ b/fs/ensure_file.ts @@ -5,8 +5,10 @@ import { getFileInfoType } from "./utils.ts"; /** * Ensures that the file exists. - * If the file that is requested to be created is in directories that do not exist, - * these directories are created. If the file already exists, it is NOT MODIFIED. + * If the file that is requested to be created is in directories that do not + * exist. + * these directories are created. If the file already exists, + * it is NOTMODIFIED. */ export async function ensureFile(filePath: string): Promise<void> { let pathExists = false; @@ -33,8 +35,10 @@ export async function ensureFile(filePath: string): Promise<void> { /** * Ensures that the file exists. - * If the file that is requested to be created is in directories that do not exist, - * these directories are created. If the file already exists, it is NOT MODIFIED. + * If the file that is requested to be created is in directories that do not + * exist, + * these directories are created. If the file already exists, + * it is NOT MODIFIED. */ export function ensureFileSync(filePath: string): void { let pathExists = false; |