Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {assertPathWithinAppDir} from './assert-path-within-app.js'
import {uniq} from '@shopify/cli-kit/common/array'
import {joinPath, basename, relativePath, extname} from '@shopify/cli-kit/node/path'
import {glob, copyFile, copyDirectoryContents, fileExists, mkdir, isDirectory} from '@shopify/cli-kit/node/fs'
import {outputContent, outputDebug, outputToken} from '@shopify/cli-kit/node/output'
Expand Down Expand Up @@ -66,7 +67,7 @@ export async function copyConfigKeyEntry(config: {

// Deduplicate: the same source path shared across multiple targets
// should only be copied once; the pathMap entry is reused for all references.
const uniquePaths = [...new Set(paths)]
const uniquePaths = uniq(paths)

// Process sequentially to avoid filesystem race conditions on shared output paths.
const pathMap = new Map<string, string | string[]>()
Expand Down
Loading