Skip to content

Commit 5dfe5f2

Browse files
committed
misc update
1 parent 7dbee02 commit 5dfe5f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/node-utility

src/EIDEProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class SourceRootList implements SourceProvider {
449449
private _add(dir: File): SourceRootInfo {
450450
const key: string = this.project.toRelativePath(dir.path);
451451
const watcher = platform.createSafetyFileWatcher(dir, true);
452-
watcher.on('error', (err) => GlobalEvent.log_warn(err));
452+
watcher.on('error', (err) => GlobalEvent.log_error(err));
453453
const sourceInfo = this.newSourceInfo(key, watcher);
454454
this.srcFolderMaps.set(key, sourceInfo);
455455
return sourceInfo;

0 commit comments

Comments
 (0)