Compare commits
No commits in common. "954df5a0ee547773ed304b057334cc574e9ee89b" and "55e6e81957b474e7f4a097fa3c0f9f4683f7c603" have entirely different histories.
954df5a0ee
...
55e6e81957
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartfile",
|
"name": "@push.rocks/smartfile",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "11.0.11",
|
"version": "11.0.10",
|
||||||
"description": "provides a robust suite of tools for managing files in Node.js using TypeScript.",
|
"description": "provides a robust suite of tools for managing files in Node.js using TypeScript.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartfile',
|
name: '@push.rocks/smartfile',
|
||||||
version: '11.0.11',
|
version: '11.0.10',
|
||||||
description: 'provides a robust suite of tools for managing files in Node.js using TypeScript.'
|
description: 'provides a robust suite of tools for managing files in Node.js using TypeScript.'
|
||||||
}
|
}
|
||||||
|
@ -169,9 +169,7 @@ export class SmartFile extends plugins.smartjson.Smartjson {
|
|||||||
* - no argument write to exactly where the file was picked up
|
* - no argument write to exactly where the file was picked up
|
||||||
*/
|
*/
|
||||||
public async write() {
|
public async write() {
|
||||||
let writePath = plugins.path.join(this.base, this.path);
|
await memory.toFs(this.contentBuffer, plugins.path.join(this.base, this.path));
|
||||||
plugins.smartpath.transform.toAbsolute(this.path, this.base);
|
|
||||||
await memory.toFs(this.contentBuffer, writePath);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user