mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Removed comment
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							@@ -41149,7 +41149,6 @@ function saveImpl(stateProvider) {
 | 
				
			|||||||
            cacheId = yield cache.saveCache(cachePaths, primaryKey, {
 | 
					            cacheId = yield cache.saveCache(cachePaths, primaryKey, {
 | 
				
			||||||
                uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
 | 
					                uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
            // -1 refers to cache not saved
 | 
					 | 
				
			||||||
            if (cacheId != -1) {
 | 
					            if (cacheId != -1) {
 | 
				
			||||||
                core.info(`Cache saved with key: ${primaryKey}`);
 | 
					                core.info(`Cache saved with key: ${primaryKey}`);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							@@ -41093,7 +41093,6 @@ function saveImpl(stateProvider) {
 | 
				
			|||||||
            cacheId = yield cache.saveCache(cachePaths, primaryKey, {
 | 
					            cacheId = yield cache.saveCache(cachePaths, primaryKey, {
 | 
				
			||||||
                uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
 | 
					                uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
            // -1 refers to cache not saved
 | 
					 | 
				
			||||||
            if (cacheId != -1) {
 | 
					            if (cacheId != -1) {
 | 
				
			||||||
                core.info(`Cache saved with key: ${primaryKey}`);
 | 
					                core.info(`Cache saved with key: ${primaryKey}`);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,7 +56,6 @@ async function saveImpl(stateProvider: IStateProvider): Promise<number | void> {
 | 
				
			|||||||
            uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize)
 | 
					            uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize)
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // -1 refers to cache not saved
 | 
					 | 
				
			||||||
        if (cacheId != -1) {
 | 
					        if (cacheId != -1) {
 | 
				
			||||||
            core.info(`Cache saved with key: ${primaryKey}`);
 | 
					            core.info(`Cache saved with key: ${primaryKey}`);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user