File tree Expand file tree Collapse file tree 3 files changed +362
-412
lines changed Expand file tree Collapse file tree 3 files changed +362
-412
lines changed Original file line number Diff line number Diff line change @@ -248,15 +248,13 @@ function registerTestingDependenciesTasks(grunt) {
248
248
const generatedVersionFilePath = path . join ( configsBasePath , "test-deps-versions-generated.json" ) ;
249
249
250
250
grunt . registerTask ( "generate_unit_testing_dependencies" , async function ( ) {
251
- var done = this . async ( ) ;
252
251
const dependenciesVersions = { } ;
253
252
const testDependencies = grunt . file . readJSON ( path . join ( configsBasePath , "test-dependencies.json" ) ) ;
254
253
for ( var dependency of testDependencies ) {
255
254
const dependencyVersion = dependency . version || await latestVersion ( dependency . name ) ;
256
255
dependenciesVersions [ dependency . name ] = dependencyVersion ;
257
256
}
258
257
grunt . file . write ( generatedVersionFilePath , JSON . stringify ( dependenciesVersions ) ) ;
259
- done ( ) ;
260
258
} ) ;
261
259
262
260
grunt . registerTask ( "verify_unit_testing_dependencies" , function ( ) {
You can’t perform that action at this time.
0 commit comments