|
|
@ -40,7 +40,7 @@ function checkEveryMonacoLanguageHasASample() {
|
|
|
|
for (const language of languages) {
|
|
|
|
for (const language of languages) {
|
|
|
|
const expectedSamplePath = path.join(
|
|
|
|
const expectedSamplePath = path.join(
|
|
|
|
REPO_ROOT,
|
|
|
|
REPO_ROOT,
|
|
|
|
`website-v2/src/website/data/home-samples/sample.${language}.txt`
|
|
|
|
`website/src/website/data/home-samples/sample.${language}.txt`
|
|
|
|
);
|
|
|
|
);
|
|
|
|
if (!fs.existsSync(expectedSamplePath)) {
|
|
|
|
if (!fs.existsSync(expectedSamplePath)) {
|
|
|
|
console.error(`Missing sample for ${language} at ${expectedSamplePath}`);
|
|
|
|
console.error(`Missing sample for ${language} at ${expectedSamplePath}`);
|
|
|
|