snyk 1.960.0 → 1.961.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/741.index.js +4 -0
- package/dist/cli/741.index.js.map +1 -1
- package/dist/cli/784.index.js +39 -3
- package/dist/cli/784.index.js.map +1 -1
- package/dist/cli/917.index.js +4 -0
- package/dist/cli/917.index.js.map +1 -1
- package/dist/cli/index.js +0 -20
- package/dist/cli/index.js.map +1 -1
- package/dist/lib/check-paths.d.ts +2 -0
- package/package.json +1 -1
package/dist/cli/741.index.js
CHANGED
|
@@ -149,6 +149,7 @@ const validate_fix_command_is_supported_1 = __webpack_require__(16117);
|
|
|
149
149
|
const get_display_path_1 = __webpack_require__(79898);
|
|
150
150
|
const chalk_1 = __webpack_require__(32589);
|
|
151
151
|
const theme_1 = __webpack_require__(86988);
|
|
152
|
+
const check_paths_1 = __webpack_require__(94501);
|
|
152
153
|
const debug = Debug('snyk-fix');
|
|
153
154
|
const snykFixFeatureFlag = 'cliSnykFix';
|
|
154
155
|
async function fix(...args) {
|
|
@@ -156,6 +157,9 @@ async function fix(...args) {
|
|
|
156
157
|
const options = set_default_test_options_1.setDefaultTestOptions(rawOptions);
|
|
157
158
|
debug(options);
|
|
158
159
|
await validate_fix_command_is_supported_1.validateFixCommandIsSupported(options);
|
|
160
|
+
if (!options.docker) {
|
|
161
|
+
check_paths_1.checkOSSPaths(paths, rawOptions);
|
|
162
|
+
}
|
|
159
163
|
validate_test_options_1.validateTestOptions(options);
|
|
160
164
|
validate_credentials_1.validateCredentials(options);
|
|
161
165
|
const results = [];
|