mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -06:00
fix: lint
This commit is contained in:
@@ -6,12 +6,12 @@ import { join } from 'path';
|
|||||||
import { createPatch } from 'diff';
|
import { createPatch } from 'diff';
|
||||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
||||||
|
|
||||||
|
import { fileExistsSync } from '@app/core/utils/files/file-exists';
|
||||||
import {
|
import {
|
||||||
FileModification,
|
FileModification,
|
||||||
ShouldApplyWithReason,
|
ShouldApplyWithReason,
|
||||||
} from '@app/unraid-api/unraid-file-modifier/file-modification';
|
} from '@app/unraid-api/unraid-file-modifier/file-modification';
|
||||||
import { UnraidFileModificationService } from '@app/unraid-api/unraid-file-modifier/unraid-file-modifier.service';
|
import { UnraidFileModificationService } from '@app/unraid-api/unraid-file-modifier/unraid-file-modifier.service';
|
||||||
import { fileExistsSync } from '@app/core/utils/files/file-exists';
|
|
||||||
|
|
||||||
const FIXTURE_PATH = join(__dirname, 'modifications', '__test__', '__fixtures__', 'text-patch-file.txt');
|
const FIXTURE_PATH = join(__dirname, 'modifications', '__test__', '__fixtures__', 'text-patch-file.txt');
|
||||||
const ORIGINAL_CONTENT = 'original';
|
const ORIGINAL_CONTENT = 'original';
|
||||||
|
|||||||
Reference in New Issue
Block a user