summaryrefslogtreecommitdiff
path: root/prettier/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'prettier/main.ts')
-rwxr-xr-xprettier/main.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/prettier/main.ts b/prettier/main.ts
index a5e11e79f..f4a2232cc 100755
--- a/prettier/main.ts
+++ b/prettier/main.ts
@@ -107,8 +107,8 @@ async function checkFile(
const text = await readFileIfExists(filename);
if (!text) {
- // The file is deleted. Skip.
- return;
+ // The file is empty. Skip.
+ return true;
}
const formatted = prettier.check(text, {