fix(core): update

This commit is contained in:
2024-04-12 14:51:23 +02:00
parent 954df5a0ee
commit 34bc92137b
4 changed files with 679 additions and 1607 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartfile',
version: '11.0.11',
version: '11.0.12',
description: 'provides a robust suite of tools for managing files in Node.js using TypeScript.'
}

View File

@ -169,8 +169,7 @@ export class SmartFile extends plugins.smartjson.Smartjson {
* - no argument write to exactly where the file was picked up
*/
public async write() {
let writePath = plugins.path.join(this.base, this.path);
plugins.smartpath.transform.toAbsolute(this.path, this.base);
let writePath = plugins.smartpath.transform.makeAbsolute(this.path, this.base);
await memory.toFs(this.contentBuffer, writePath);
}