Skip to content

Commit e08db06

Browse files
authored
Merge pull request #479 from vbakke/fix/copy-readme-add-slack
fix: Copy README: Add a second's slack before outputing the warning message
2 parents fd79db1 + fad19ed commit e08db06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/copy-readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ try {
3333
if (targetStats.mtimeMs == sourceStats.mtimeMs) {
3434
copyNeeded = false;
3535
}
36-
if (targetStats.mtimeMs > sourceStats.mtimeMs) {
36+
if (targetStats.mtimeMs > sourceStats.mtimeMs + 1001) {
3737
console.warn('===============================================================');
3838
console.warn('⚠️ WARNING: Did you edit the README.md copy under `assets`?');
3939
console.warn('The assets readme gets overwritten during the build process.');

0 commit comments

Comments
 (0)