Skip to content

Commit

Permalink
fix: Bug in readText
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 17, 2023
1 parent e3069f1 commit b54597b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/filesystem.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { emptyDir } from 'fs-extra'
import { mkdirpSync as mkdirSync } from 'fs-extra'

const readText = ref => readFile(ref)
.then(resp => resp.toString)
.then(resp => resp.toString())

const writeText = (ref, content) => {
// make sure the directory exists
Expand Down

0 comments on commit b54597b

Please sign in to comment.