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

Exclude .git files from console warnings #7332

Merged
merged 2 commits into from
Mar 27, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/filesystem/impls/appshell/AppshellFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define(function (require, exports, module) {
NodeDomain = require("utils/NodeDomain");

var FILE_WATCHER_BATCH_TIMEOUT = 200; // 200ms - granularity of file watcher changes

/**
* Callback to notify FileSystem of watcher changes
* @type {?function(string, FileSystemStats=)}
Expand Down Expand Up @@ -91,7 +91,8 @@ define(function (require, exports, module) {
if (needsStats) {
exports.stat(path, function (err, stats) {
if (err) {
console.warn("Unable to stat changed path: ", path, err);
// warning has been removed due to spamming the console - see #7332
// console.warn("Unable to stat changed path: ", path, err);
return;
}
_changeCallback(path, stats);
Expand Down