Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 647428d

Browse files
committed
Remove the warning completely, leave comment for reference
1 parent b0328d3 commit 647428d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/filesystem/impls/appshell/AppshellFileSystem.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ define(function (require, exports, module) {
3434
NodeDomain = require("utils/NodeDomain");
3535

3636
var FILE_WATCHER_BATCH_TIMEOUT = 200; // 200ms - granularity of file watcher changes
37-
38-
/** exclude .git files from warnings as they appear and disappear very quickly and pollute the console */
39-
var warningBlacklist = /\/\.git\//;
4037

4138
/**
4239
* Callback to notify FileSystem of watcher changes
@@ -94,9 +91,8 @@ define(function (require, exports, module) {
9491
if (needsStats) {
9592
exports.stat(path, function (err, stats) {
9693
if (err) {
97-
if (!warningBlacklist.test(path)) {
98-
console.warn("Unable to stat changed path: ", path, err);
99-
}
94+
// warning has been removed due to spamming the console - see #7332
95+
// console.warn("Unable to stat changed path: ", path, err);
10096
return;
10197
}
10298
_changeCallback(path, stats);

0 commit comments

Comments
 (0)