mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 03:54:57 +02:00
Fix init workspace in dev (#8799)
Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com> Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com> Co-authored-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
co-authored by
Alexey Zinoviev
parent
874f4e3262
commit
06fb92b7cb
@@ -205,9 +205,7 @@ export class WorkspaceInitializer {
|
||||
try {
|
||||
const uploader = new StorageFileUploader(this.ctx, this.storageAdapter, this.wsIds)
|
||||
const initPath = path.resolve(this.initRepoDir, step.path)
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
const initPerson = vars[`\${${this.creatorPersonVar}}`]
|
||||
const importer = new HulyFormatImporter(this.client, uploader, logger, this.socialId, initPerson)
|
||||
const importer = new HulyFormatImporter(this.client, uploader, logger, vars)
|
||||
await importer.importFolder(initPath)
|
||||
} catch (error) {
|
||||
logger.error('Import failed', error)
|
||||
|
||||
Reference in New Issue
Block a user