mirror of
				https://github.com/actions/cache.git
				synced 2025-11-01 04:28:39 +08:00 
			
		
		
		
	Fix shellcheck errors
This commit is contained in:
		
							parent
							
								
									7c7ab7c49e
								
							
						
					
					
						commit
						2522d07a5f
					
				|  | @ -23,8 +23,8 @@ fi | |||
| 
 | ||||
| # Verify file content | ||||
| content="$(cat $file)" | ||||
| echo "File content:\n$content" | ||||
| if [ -z "$(echo $content | grep --fixed-strings "$prefix $GITHUB_RUN_ID")" ]; then | ||||
| printf "File content:\n%s\n" "$content" | ||||
| if ! echo "$content" | grep --fixed-strings "$prefix $GITHUB_RUN_ID"; then | ||||
|   echo "Unexpected file content" | ||||
|   exit 1 | ||||
| fi | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 BSKY
						BSKY