fix compiled filenames

This commit is contained in:
2016-09-24 21:53:44 +02:00
parent 513bb686ef
commit 4c3715f655
6 changed files with 100 additions and 4 deletions

View File

@ -46,10 +46,10 @@ export class KeyValueStore {
/**
* computes the identity
*/
private initIdentity(identityStringArg: string){
private initIdentity(identityStringArg: string) {
}
/**
* computes the filePath
*/
@ -63,5 +63,6 @@ export class KeyValueStore {
baseDir = paths.kvPathDir
}
this.filePath = plugins.path.join(baseDir, this.identity + '.json')
plugins.smartfile.fs.ensureFileSync(this.filePath,'{}')
}
}