Skip to content

Commit 61ce95b

Browse files
committed
Fix #29: Remove .deepsource.toml existence check
1 parent 8deaf1f commit 61ce95b

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

init.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,6 @@ func run() int {
8686
scope.SetExtra("currentDir", currentDir)
8787
})
8888

89-
90-
// Verify existence of .deepsource.toml
91-
_, err = os.Stat("./.deepsource.toml")
92-
if err != nil {
93-
if os.IsNotExist(err) {
94-
fmt.Println("DeepSource | Error | .deepsource.toml not found.")
95-
sentry.CaptureException(err)
96-
return 1
97-
} else {
98-
fmt.Println("DeepSource | Error | Unable to stat .deepsource.toml")
99-
sentry.CaptureException(err)
100-
return 0
101-
}
102-
}
103-
10489
//////////////////
10590
// Validate DSN //
10691
//////////////////
@@ -141,7 +126,6 @@ func run() int {
141126
scope.SetExtra("headCommitOID", headCommitOID)
142127
})
143128

144-
145129
if reportCommand.Parsed() {
146130
// Flag validation
147131
if *reportCommandValue == "" && *reportCommandValueFile == "" {

0 commit comments

Comments
 (0)