File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins": [
3
+ [
4
+ "@semantic-release/commit-analyzer",
5
+ {
6
+ "releaseRules": [
7
+ {"type": "docs", "release": "patch"},
8
+ {"type": "chore", "release": "patch"},
9
+ {"type": "refactor", "release": "patch"},
10
+ {"type": "style", "release": "patch"}
11
+ ]
12
+ }
13
+ ],
14
+ [
15
+ "@semantic-release/git",
16
+ {
17
+ "assets": [],
18
+ "message": "chore(release): ${nextRelease.version}"
19
+ }
20
+ ]
21
+ ]
22
+ }
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2022 Snyk Ltd.
2
+ * Copyright 2022-2023 Snyk Ltd.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -126,7 +126,11 @@ async function showDirectoryListing(
126
126
const lsToolRunner : tr . ToolRunner = tl . tool ( lsPath ) ;
127
127
lsToolRunner . arg ( '-la' ) ;
128
128
lsToolRunner . argIf ( dirToShow , dirToShow ) ;
129
- await lsToolRunner . exec ( options ) ;
129
+ try {
130
+ await lsToolRunner . exec ( options ) ;
131
+ } catch ( err ) {
132
+ console . log ( `Error listing directory: ${ err } ` ) ;
133
+ }
130
134
}
131
135
132
136
async function runSnykTest (
You can’t perform that action at this time.
0 commit comments