Skip to content

Commit

Permalink
chore: remove non used variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Jan 24, 2025
1 parent 722aba5 commit c776cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/commit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { InputOutputAdapter } from '@yeoman/types';
import { type ConflicterOptions, createConflicterTransform, createYoResolveTransform, forceYoFiles } from '@yeoman/conflicter';
import createdLogger from 'debug';
import type { Store } from 'mem-fs';
import { type MemFsEditorFile, create as createMemFsEditor } from 'mem-fs-editor';
import { type MemFsEditorFile } from 'mem-fs-editor';
import { createCommitTransform } from 'mem-fs-editor/transform';
import { isFilePending } from 'mem-fs-editor/state';

Expand All @@ -21,7 +21,6 @@ export const commitSharedFsTask = async ({
sharedFs: Store<MemFsEditorFile>;
}) => {
debug('Running commitSharedFsTask');
const editor = createMemFsEditor(sharedFs);
await sharedFs.pipeline(
{ filter: (file: MemFsEditorFile) => isFilePending(file) || file.path.endsWith('.yo-resolve') },
createYoResolveTransform(),
Expand Down

0 comments on commit c776cc0

Please sign in to comment.