Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit a6f210e

Browse files
committed
chore: fix linting
1 parent 36d3d6e commit a6f210e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/core/write.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const write = async (context, source, destination, options) => {
165165
offset: bytesWritten
166166
})
167167
} else {
168-
log(`Not writing last bytes from original file`)
168+
log('Not writing last bytes from original file')
169169
}
170170
}
171171

test/mv.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ describe('mv', () => {
237237
it('moves a file from a sub-shard of a sharded directory to a sharded directory', async () => {
238238
const shardedDirPath = await createShardedDirectory(mfs, 10, 75)
239239
const otherShardedDirPath = await createShardedDirectory(mfs)
240-
const file = `file-1a.txt`
240+
const file = 'file-1a.txt'
241241
const filePath = `${shardedDirPath}/${file}`
242242
const finalFilePath = `${otherShardedDirPath}/${file}`
243243

test/read.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('read', () => {
1717
mfs = await createMfs()
1818
})
1919

20-
describe(`read`, () => {
20+
describe('read', () => {
2121
it('reads a small file', async () => {
2222
const filePath = '/small-file.txt'
2323

test/write.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ describe('write', () => {
591591

592592
it('overwrites a file in a subshard of a sharded directory', async () => {
593593
const shardedDirPath = await createShardedDirectory(mfs, 10, 75)
594-
const newFile = `file-1a.txt`
594+
const newFile = 'file-1a.txt'
595595
const newFilePath = `${shardedDirPath}/${newFile}`
596596
const newContent = Buffer.from([3, 2, 1, 0])
597597

0 commit comments

Comments
 (0)