Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: corrected codeowners for sast-team
  • Loading branch information
Arvi3d committed Aug 2, 2021
1 parent 5b49f5c commit a102ba4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -8,6 +8,8 @@ src/cli/commands/test/iac-output.ts @snyk/cloudconfig
src/cli/commands/test/iac-test-shim.ts @snyk/cloudconfig
src/lib/cloud-config-projects.ts @snyk/cloudconfig
src/lib/plugins/sast/ @snyk/sast-team
test/fixtures/sast/ @snyk/sast-team
test/jest/unit/snyk-code/ @snyk/sast-team
src/lib/iac/ @snyk/cloudconfig
src/lib/snyk-test/iac-test-result.ts @snyk/cloudconfig
src/lib/snyk-test/payload-schema.ts @snyk/cloudconfig
Expand All @@ -17,8 +19,6 @@ test/fixtures/container-projects/ @snyk/capsule
test/fixtures/iac/ @snyk/cloudconfig
test/smoke/spec/iac/ @snyk/cloudconfig
test/smoke/.iac-data/ @snyk/cloudconfig
test/fixtures/sast/ @snyk/sast-team
test/snyk-code-test.spec.ts @snyk/sast-team
test/jest/unit/iac-unit-tests/ @snyk/cloudconfig
test/jest/acceptance/iac/ @snyk/cloudconfig
src/lib/errors/invalid-iac-file.ts @snyk/cloudconfig
Expand Down
Expand Up @@ -5,16 +5,16 @@ import { analyzeFolders, AnalysisSeverity } from '@snyk/code-client';
jest.mock('@snyk/code-client');
const analyzeFoldersMock = analyzeFolders as jest.Mock;

import { loadJson } from '../../utils';
import * as featureFlags from '../../../src/lib/feature-flags';
import * as checks from '../../../src/lib/plugins/sast/checks';
import { config as userConfig } from '../../../src/lib/user-config';
import * as analysis from '../../../src/lib/plugins/sast/analysis';
import { Options, TestOptions } from '../../../src/lib/types';
import * as ecosystems from '../../../src/lib/ecosystems';
import * as analytics from '../../../src/lib/analytics';
import * as cli from '../../../src/cli/commands';
import { jsonStringifyLargeObject } from '../../../src/lib/json';
import { loadJson } from '../../../utils';
import * as featureFlags from '../../../../src/lib/feature-flags';
import * as checks from '../../../../src/lib/plugins/sast/checks';
import { config as userConfig } from '../../../../src/lib/user-config';
import * as analysis from '../../../../src/lib/plugins/sast/analysis';
import { Options, TestOptions } from '../../../../src/lib/types';
import * as ecosystems from '../../../../src/lib/ecosystems';
import * as analytics from '../../../../src/lib/analytics';
import * as cli from '../../../../src/cli/commands';
import { jsonStringifyLargeObject } from '../../../../src/lib/json';

const { getCodeAnalysisAndParseResults } = analysis;
const osName = require('os-name');
Expand All @@ -27,20 +27,20 @@ describe('Test snyk code', () => {
const failedCodeTestMessage = "Failed to run 'code test'";
const fakeApiKey = '123456789';
const sampleSarifResponse = loadJson(
path.join(__dirname, '/../../fixtures/sast/sample-sarif.json'),
path.join(__dirname, '/../../../fixtures/sast/sample-sarif.json'),
);
const sampleAnalyzeFoldersResponse = loadJson(
path.join(
__dirname,
'/../../fixtures/sast/sample-analyze-folders-response.json',
'/../../../fixtures/sast/sample-analyze-folders-response.json',
),
);

const isWindows =
osName()
.toLowerCase()
.indexOf('windows') === 0;
const fixturePath = path.join(__dirname, '../../fixtures', 'sast');
const fixturePath = path.join(__dirname, '../../../fixtures', 'sast');
const cwd = process.cwd();

function readFixture(filename: string) {
Expand Down

0 comments on commit a102ba4

Please sign in to comment.