Skip to content

Commit c173c84

Browse files
authored
Fix issue with generation of Zip file of SVG icons in pipeline (#2587)
1 parent d8f45aa commit c173c84

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/flight-icons/scripts/build-parts/generatePublicZIPFile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ export async function generatePublicZIPFile({ config } : { config: ConfigData })
2222
}
2323

2424
// zip the standalone SVG folder
25-
zipSVGFolder({ srcFolderPath, zipFilePath })
25+
await zipSVGFolder({ srcFolderPath, zipFilePath })
2626
}

packages/flight-icons/scripts/config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: MPL-2.0
44
*/
55

6+
7+
import path from 'path';
8+
69
import { ConfigData } from "./@types/ConfigData";
710

811
export const config: ConfigData = {
@@ -17,7 +20,7 @@ export const config: ConfigData = {
1720
// notice: these paths are relative to where the npm script is invoked, not this file!
1821
mainFolder: '.',
1922
tempFolder: './temp',
20-
emberPublicFolder: '../website/public',
23+
emberPublicFolder: path.resolve(__dirname, '../../../website/public'),
2124
// number of files retrieved by figma-export in a batch request
2225
syncConcurrency: 100,
2326
};
273 KB
Binary file not shown.

0 commit comments

Comments
 (0)