Skip to content

Commit 10980d4

Browse files
committed
Mute a warning
1 parent 48d9202 commit 10980d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class Version {
166166
}
167167

168168
function getFileContents(file) {
169-
return fs.readFileSync(file, {encoding: "utf-8"});
169+
return fs.readFileSync(file).toString("utf-8");
170170
}
171171

172172
function getFileVersion(versionFile, extractionPattern) {

0 commit comments

Comments
 (0)