We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b097af commit f7291e8Copy full SHA for f7291e8
src/utils/safeWrite.mjs
@@ -5,7 +5,7 @@ import { writeFile } from 'node:fs/promises';
5
6
/**
7
* Writes a file only if the content has changed, avoiding unnecessary writes.
8
- * Uses stat comparison (size and mtime) to determine if file needs updating.
+ * Uses stat comparison (size) to determine if file needs updating.
9
*
10
* @param {string} filePath - The path to the file
11
* @param {string | Buffer} content - The content to write
0 commit comments