Skip to content

Commit 32bce67

Browse files
committed
fix: after merge breaking change
1 parent 7b85ca3 commit 32bce67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ module.exports = (options = {}) => {
3535

3636
if (src) {
3737
src = path.isAbsolute(src) ?
38-
path.join(options.root, src) :
39-
path.resolve(cwd, src);
38+
path.resolve(cwd, src) :
39+
path.join(options.root, src);
4040
source = fs.readFileSync(src, options.encoding);
4141

4242
try {

0 commit comments

Comments
 (0)