File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,10 @@ updates:
4
4
directory : " /"
5
5
schedule :
6
6
interval : " daily"
7
- labels :
8
- - " impact/no-changelog-required"
9
- - " github-actions"
10
- - " dependencies"
11
7
- package-ecosystem : " npm"
12
8
directory : " /"
13
9
schedule :
14
10
interval : " daily"
15
11
ignore :
16
12
- dependency-name : " typescript*"
17
- labels :
18
- - " impact/no-changelog-required"
19
- - " npm"
20
- - " dependencies"
21
13
Original file line number Diff line number Diff line change @@ -41,8 +41,14 @@ export class Storage {
41
41
} else {
42
42
const exists = await this . hasFile ( this . getFilePath ( ) ) ;
43
43
if ( exists ) {
44
- this . readContent = await fs . readFile ( this . getFilePath ( ) , 'utf-8' )
44
+ this . readContent = await fs . readFile ( this . getFilePath ( ) , 'utf-8' ) ;
45
45
this . content = JSON . parse ( this . readContent ) ;
46
+ } else {
47
+ this . readContent = '' ;
48
+ this . content = {
49
+ github : [ ] ,
50
+ todoist : [ ] ,
51
+ } ;
46
52
}
47
53
}
48
54
return this . content ;
You can’t perform that action at this time.
0 commit comments