fix(core): update
This commit is contained in:
@@ -169,7 +169,9 @@ export class SmartFile extends plugins.smartjson.Smartjson {
|
||||
* - no argument write to exactly where the file was picked up
|
||||
*/
|
||||
public async write() {
|
||||
await memory.toFs(this.contentBuffer, plugins.path.join(this.base, this.path));
|
||||
let writePath = plugins.path.join(this.base, this.path);
|
||||
plugins.smartpath.transform.toAbsolute(this.path, this.base);
|
||||
await memory.toFs(this.contentBuffer, writePath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user