We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code needs to be changed in 12 places to save and extract files from /tmp/
Line 152 zip.extractAllTo('/tmp/extracted', true);
zip.extractAllTo('/tmp/extracted', true);
Line 162 const fileData = fs.readFileSync('/tmp/'+SKILL_PACKAGE_ZIP);
const fileData = fs.readFileSync('/tmp/'+SKILL_PACKAGE_ZIP);
Line 168 'Content-Length': fs.statSync('/tmp/'+SKILL_PACKAGE_ZIP).size
'Content-Length': fs.statSync('/tmp/'+SKILL_PACKAGE_ZIP).size
Line 186-187
zip.addLocalFolder('/tmp/extracted'); zip.writeZip('/tmp/'+SKILL_PACKAGE_ZIP);
Line 206-210
if (!fs.existsSync('/tmp/downloaded')) { fs.mkdirSync('/tmp/downloaded'); } if (!fs.existsSync('/tmp/extracted')) { fs.mkdirSync('/tmp/extracted');
Line 220
await downloadSkillPackage(packageDownloadUrl, '/tmp/downloaded/skillPackage.zip');`
Line 257
const interactionModel = readJsonFile(`/tmp/extracted/interactionModels/custom/${locale}.json`);
Line 266
fs.writeFileSync(`/tmp/extracted/interactionModels/custom/${locale}.json`, JSON.stringify(interactionModel, null, 2))
The text was updated successfully, but these errors were encountered:
aszk
No branches or pull requests
The code needs to be changed in 12 places to save and extract files from /tmp/
Line 152
zip.extractAllTo('/tmp/extracted', true);
Line 162
const fileData = fs.readFileSync('/tmp/'+SKILL_PACKAGE_ZIP);
Line 168
'Content-Length': fs.statSync('/tmp/'+SKILL_PACKAGE_ZIP).size
Line 186-187
Line 206-210
Line 220
Line 257
Line 266
The text was updated successfully, but these errors were encountered: