mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	Fix TypeScript error line/column (#125)
* Fix TypeScript error line/column * Adopt official pattern from VS Code * Minor cleanup * Add tests for tsc problem matcher Co-authored-by: Lukas Spieß <lumaxis@github.com>
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/tsc.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/tsc.json
									
									
									
									
										vendored
									
									
								
							| @@ -4,14 +4,15 @@ | ||||
|             "owner": "tsc", | ||||
|             "pattern": [ | ||||
|                 { | ||||
|                     "regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$", | ||||
|                     "regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+TS(\\d+)\\s*:\\s*(.*)$", | ||||
|                     "file": 1, | ||||
|                     "location": 2, | ||||
|                     "severity": 3, | ||||
|                     "code": 4, | ||||
|                     "message": 5 | ||||
|                     "line": 2, | ||||
|                     "column": 3, | ||||
|                     "severity": 4, | ||||
|                     "code": 5, | ||||
|                     "message": 6 | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user