We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf3f89 commit e6b2013Copy full SHA for e6b2013
1 file changed
packages/b2c-tooling-sdk/src/operations/code/upload-files.ts
@@ -41,10 +41,7 @@ export interface UploadFilesOptions {
41
* @param cartridges - The list of discovered cartridge mappings
42
* @returns The file change with src and dest, or undefined if the path is not inside any cartridge
43
*/
44
-export function fileToCartridgePath(
45
- absolutePath: string,
46
- cartridges: CartridgeMapping[],
47
-): FileChange | undefined {
+export function fileToCartridgePath(absolutePath: string, cartridges: CartridgeMapping[]): FileChange | undefined {
48
const cartridge = cartridges.find((c) => absolutePath.startsWith(c.src));
49
50
if (!cartridge) {
0 commit comments