Skip to content

Commit 3fb9071

Browse files
author
Danny McCormick
authored
Fix infinite loop (microsoft#483)
* Fix infinite loop * If loc file not found, don't try to loc * Spacing
1 parent 11c9439 commit 3fb9071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/internal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function _loadLocStrings(resourceFile: string, culture: string): { [key: string]
131131
}
132132
}
133133
else {
134-
_warning(_loc('LIB_ResourceFileNotExist', resourceFile));
134+
_warning('LIB_ResourceFile does not exist');
135135
}
136136

137137
return locStrings;

0 commit comments

Comments
 (0)