Skip to content

Commit 3670ba5

Browse files
committed
cleanup
1 parent 15b6d79 commit 3670ba5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/fpm_compile_commands.F90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
!># Store compiler commands in a `compile_commands.json` table
22
module fpm_compile_commands
3-
use fpm_toml, only: serializable_t, set_string, set_value, set_list, get_value, get_list, toml_table, add_table, toml_array, add_array, toml_stat
3+
use fpm_toml, only: serializable_t, set_string, set_list, get_value, get_list, toml_table, add_table, &
4+
toml_array, add_array, toml_stat
45
use jonquil, only: json_serialize, json_ser_config
56
use fpm_strings, only: string_t, operator(==)
67
use fpm_error, only: error_t, syntax_error, fatal_error
@@ -209,7 +210,7 @@ subroutine cct_write(self, filename, error)
209210
! Ensure the array has no key
210211
if (allocated(array%key)) deallocate(array%key)
211212

212-
cfg%indent = repeat(' ',4)
213+
cfg%indent = repeat(' ',3)
213214
write (lun, '(A)', iostat=stat, err=1) '{'
214215
write (lun, '(A)', iostat=stat, err=1) json_serialize(array, cfg)
215216
write (lun, '(A)', iostat=stat, err=1) '}'

0 commit comments

Comments
 (0)