fix(core): update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user