Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jan 31, 2024
1 parent 0b60bcd commit bd847a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/ts/dts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { generateDts } from 'tsc-dts-fix'
import { populateSync } from '@topoconfig/extends'

import { IContext, IExecPipe } from './interface.js'
import { findCommon } from './util.js'
import { findBase } from './util.js'

export const generate = (
tsconfig: string,
Expand All @@ -27,7 +27,7 @@ export const generate = (
include = [],
compilerOptions: {
outDir = '' ,
rootDir = findCommon(globbySync(include, {
rootDir = findBase(globbySync(include, {
onlyFiles: true,
absolute: true,
cwd,
Expand Down
2 changes: 1 addition & 1 deletion src/test/ts/libdefkit.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ declare module "@qiwi/libdefkit/target/es6/util.js" {
export const formatArgs: (args?: string[] | TFlags, picklist?: string[]) => string[];
export const findBin: (cmd: string, cwd: string) => string;
export const getClosestBin: (cmd: string, cwd?: string) => string;
export const findCommon: (files: string[]) => string;
export const findBase: (files: string[]) => string;
}
declare module "@qiwi/libdefkit/target/es6/dts.js" {
import { IExecPipe } from "@qiwi/libdefkit/target/es6/interface.js";
Expand Down

0 comments on commit bd847a2

Please sign in to comment.