mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 15:58:09 +08:00 
			
		
		
		
	adding info
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -7204,7 +7204,7 @@ class GitAuthHelper {
 | 
				
			|||||||
            if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) {
 | 
					            if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) {
 | 
				
			||||||
                core.debug(`Unsetting HOME override`);
 | 
					                core.debug(`Unsetting HOME override`);
 | 
				
			||||||
                this.git.removeEnvironmentVariable('HOME');
 | 
					                this.git.removeEnvironmentVariable('HOME');
 | 
				
			||||||
                core.info(`hi there: $(this.temporaryHomePath)`);
 | 
					                core.info(`hi there: ${this.temporaryHomePath}`);
 | 
				
			||||||
                yield io
 | 
					                yield io
 | 
				
			||||||
                    .rmRF(this.temporaryHomePath)
 | 
					                    .rmRF(this.temporaryHomePath)
 | 
				
			||||||
                    // eslint-disable-next-line github/no-then
 | 
					                    // eslint-disable-next-line github/no-then
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,6 +4,7 @@
 | 
				
			|||||||
  "description": "checkout action",
 | 
					  "description": "checkout action",
 | 
				
			||||||
  "main": "lib/main.js",
 | 
					  "main": "lib/main.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "build-full": "npm run format && npm run build && npm run test",
 | 
				
			||||||
    "build": "tsc && ncc build && node lib/misc/generate-docs.js",
 | 
					    "build": "tsc && ncc build && node lib/misc/generate-docs.js",
 | 
				
			||||||
    "format": "prettier --write '**/*.ts'",
 | 
					    "format": "prettier --write '**/*.ts'",
 | 
				
			||||||
    "format-check": "prettier --check '**/*.ts'",
 | 
					    "format-check": "prettier --check '**/*.ts'",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -198,7 +198,7 @@ class GitAuthHelper {
 | 
				
			|||||||
      core.debug(`Unsetting HOME override`)
 | 
					      core.debug(`Unsetting HOME override`)
 | 
				
			||||||
      this.git.removeEnvironmentVariable('HOME')
 | 
					      this.git.removeEnvironmentVariable('HOME')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      core.info(`hi there: $(this.temporaryHomePath)`)
 | 
					      core.info(`hi there: ${this.temporaryHomePath}`)
 | 
				
			||||||
      await io
 | 
					      await io
 | 
				
			||||||
        .rmRF(this.temporaryHomePath)
 | 
					        .rmRF(this.temporaryHomePath)
 | 
				
			||||||
        // eslint-disable-next-line github/no-then
 | 
					        // eslint-disable-next-line github/no-then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user