Skip to content

Commit

Permalink
Merge pull request #12016 from CesiumGS/fix-built-sandcastle-images
Browse files Browse the repository at this point in the history
Fix built sandcastle images
  • Loading branch information
jjhembd authored Jun 3, 2024
2 parents 6554928 + 14ecbca commit abc5320
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const buildWatch = gulp.series(build, async function buildWatch() {
}

specs.dispose();
// eslint-disable-next-line n/no-process-exit

process.exit(0);
});
});
Expand Down Expand Up @@ -1163,7 +1163,7 @@ function generateTypeScriptDefinitions(
const regex = /^declare[ const ]*(function|class|namespace|enum) (.+)/gm;
let matches;
let publicModules = new Set();
//eslint-disable-next-line no-cond-assign

while ((matches = regex.exec(source))) {
const moduleName = matches[2].match(/([^<\s|\(]+)/);
publicModules.add(moduleName[1]);
Expand Down Expand Up @@ -1370,7 +1370,7 @@ function createTypeScriptDefinitions() {
const regex = /^declare (function|class|namespace|enum) (.+)/gm;
let matches;
const publicModules = new Set();
//eslint-disable-next-line no-cond-assign

while ((matches = regex.exec(source))) {
const moduleName = matches[2].match(/([^<\s|\(]+)/);
publicModules.add(moduleName[1]);
Expand Down Expand Up @@ -1671,7 +1671,6 @@ async function buildSandcastle() {
["Apps/Sandcastle/gallery/**.jpg", "Apps/Sandcastle/images/**"],
{
base: "Apps/Sandcastle",
buffer: false,
encoding: false,
}
);
Expand Down

0 comments on commit abc5320

Please sign in to comment.