Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors several Gulp tasks in
Build/gulpfile.jsto improve error handling and compatibility with newer Gulp versions. It replaces deprecated modules, updates dependencies, and ensures asynchronous tasks handle empty input gracefully. The changes are mainly focused on modernizing the build process and making it more robust.Dependency and Module Updates
requestmodule with Node's built-inhttpsfor downloading files, and updated task implementation to handle download errors and file cleanup (gulpfile.js,package.json). [1] [2] [3]gulpdependency from version 4 to 5 inpackage.jsonfor improved compatibility and future-proofing.Task Error Handling and Asynchronous Flow
unzip-templates,resources-convert,resources-build,resources-copy,userprompt-copy,zip-output) to accept adonecallback and return early when there is no work to do, preventing hanging or unnecessary execution. [1] [2] [3] [4] [5] [6] [7] [8] [9]Minor Task Callback Consistency
cb) are called at the correct locations inbuild-templatesandbuild-templates-v2tasks to maintain consistent asynchronous behavior. [1] [2]