rsnext/test/unit/incremental-cache
Yamagishi Kazutoshi da8a82d6bf
Change CacheFs methods to return Buffer (#48237)
### What?

In environments where `FileSystemCache` is used, the cache for static
resources such as image files will be broken.

### Why?

Because `fs.readFile(path, 'utf8')` tries to read a file as a `string`.

### How?

Change to use `fs.readFile(path)` to always read files as binary
(`Buffer`).
2023-04-17 15:22:29 +00:00
..
images Change CacheFs methods to return Buffer (#48237) 2023-04-17 15:22:29 +00:00
.gitignore Change CacheFs methods to return Buffer (#48237) 2023-04-17 15:22:29 +00:00
file-system-cache.test.ts Change CacheFs methods to return Buffer (#48237) 2023-04-17 15:22:29 +00:00