feat(runner): fix an issue where charword was generated every time and update assets filename

This commit is contained in:
Haoyu Xu
2023-02-05 17:18:49 -05:00
parent 470e939a2a
commit 17ec651549
4 changed files with 4 additions and 4 deletions

View File

@@ -14,6 +14,6 @@ export default function () {
writeSync(JSON.stringify(directoryJson, null), path.join(targetFolder, "directory.json"))
filesToCopy.forEach((key) => {
const filename = `${__config.operators[key].filename}.json`;
copy(path.join(sourceFolder, key, filename), path.join(targetFolder, filename))
copy(path.join(sourceFolder, key, 'assets.json'), path.join(targetFolder, filename))
})
}