From cfe7149458297ebd04032e84a008b516e8f7b46f Mon Sep 17 00:00:00 2001 From: jsblair9 Date: Thu, 15 Dec 2022 11:40:11 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20cli=20config=20should=20know=20a?= =?UTF-8?q?bout=20itemCollectionFile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/cli/src/boot_up.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/cli/src/boot_up.ts b/js/cli/src/boot_up.ts index bafb8038..32d064e0 100755 --- a/js/cli/src/boot_up.ts +++ b/js/cli/src/boot_up.ts @@ -123,12 +123,14 @@ async function getConfig( ? new PublicKey(config.masterMintHolder) : null, itemImageFile: await loadItemImageFileFromDir(config.itemImageFile), + itemCollectionFile: fs.readFileSync(config.itemCollectionFile), writeOutState: async (f: any) => { await fs.writeFileSync( configPath, JSON.stringify({ ...f, itemImageFile: config.itemImageFile, + itemCollectionFile: config.itemCollectionFile, }) ); },