1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-08-17 06:00:33 +03:00

chore: lint

This commit is contained in:
louistiti 2023-05-27 08:06:11 +08:00
parent a55fbcd532
commit 2e6abef507
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -44,7 +44,9 @@ export default async function (skillFriendlyName, currentSkill) {
try {
// Add new skill settings in the settings.json file
commandSync(
`json -I -f ${settingsPath} -e 'this.${settingsSampleKeys[j]}=${JSON.stringify(configKey[settingsSampleKeys[j]])}'`,
`json -I -f ${settingsPath} -e 'this.${
settingsSampleKeys[j]
}=${JSON.stringify(configKey[settingsSampleKeys[j]])}'`,
{ shell: true }
)
LogHelper.success(
@ -69,9 +71,7 @@ export default async function (skillFriendlyName, currentSkill) {
fs.createWriteStream(`${skillSrcPath}/settings.json`)
)
LogHelper.success(
`"${skillFriendlyName}" skill settings file created`
)
LogHelper.success(`"${skillFriendlyName}" skill settings file created`)
}
}
}