Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigcommerce/stencil-cli
/ checkLangFiles
Method
checkLangFiles
lib/lang/validator.js:71–76 ·
view source on GitHub ↗
(files)
Source
from the content-addressed store, hash-verified
69
}
70
71
checkLangFiles(files) {
72
if
(files.length === 0) {
73
return
[
'No lang files found in your theme'
];
74
}
75
return
[];
76
}
77
78
async
getLangHelpersPaths(templatesPath) {
79
const
files =
await
recursiveReadDir(templatesPath);
Callers
1
validate
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected