@k3000/store 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/architect.mjs +1 -5
- package/package.json +1 -1
package/architect.mjs
CHANGED
|
@@ -277,11 +277,7 @@ export class Entity {
|
|
|
277
277
|
|
|
278
278
|
readFileSync(name) {
|
|
279
279
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
if (!existsSync(path)) return Buffer.alloc(0)
|
|
283
|
-
|
|
284
|
-
return readFileSync(path)
|
|
280
|
+
return readFileSync(this.#storage.bufferDir + (this.#position + this.#positionSet[name]))
|
|
285
281
|
}
|
|
286
282
|
|
|
287
283
|
buffer(value, name) {
|