Skip to content

Commit e204ea2

Browse files
committed
add hexlet-check.yml
1 parent 232a585 commit e204ea2

File tree

9 files changed

+1
-52
lines changed

9 files changed

+1
-52
lines changed

__fixtures__/expectDiffFiles.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

__fixtures__/file11.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

__fixtures__/file11.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

__fixtures__/file22.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

__fixtures__/file22.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

__test__/diffFiles.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ test('compareFilesJsonFormatPlain', () => {
4545
expect(formatPlain(diffFilesJson)).toEqual(diffFilesFormatPlain);
4646
});
4747

48-
// test('compareFilesYamlFormatStylishPlain', () => {
49-
// const diffFilesFormatPlain = readFile('expectDiffFormatPlain.txt');
50-
// expect(formatPlain(diffFilesYaml)).toEqual(diffFilesFormatPlain);
51-
// });
52-
5348
test('compareFilesFormatJson', () => {
5449
const diffFilesFormatPlain = readFile('expectDiffFormatJson.txt');
5550
expect(formatJson(diffFilesJson)).toEqual(diffFilesFormatPlain);

bin/gendiff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ program
2121
const file1 = parseFile(filePath1);
2222
const file2 = parseFile(filePath2);
2323
const getDIffFiles = diffFiles(file1, file2);
24-
const format = program.opts().format || 'stylish';
24+
const format = program.opts().format;
2525

2626
let output;
2727
if (format === 'stylish') {

demo.cast

Lines changed: 0 additions & 12 deletions
This file was deleted.

yaml.cast

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)