mirror of
				https://github.com/willfarrell/docker-crontab.git
				synced 2025-10-31 13:47:15 +01:00 
			
		
		
		
	fix: moving the top level key name to the "name" property.
This commit is contained in:
		| @@ -37,7 +37,7 @@ normalize_config() { | ||||
|     elif [ -f "${HOME_DIR}/config.yaml" ]; then | ||||
|         JSON_CONFIG="$(rq -y <<< "$(cat "${HOME_DIR}"/config.yaml)")" | ||||
|     fi | ||||
|     jq -r 'map(.)' <<< "${JSON_CONFIG}" > "${HOME_DIR}"/config.working.json | ||||
|     jq -r 'to_entries | map_values(.value + { name: .key })' <<< "${JSON_CONFIG}" > "${HOME_DIR}"/config.working.json | ||||
| } | ||||
|  | ||||
| ensure_docker_socket_accessible() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user