We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b85ca3 commit 32bce67Copy full SHA for 32bce67
lib/index.js
@@ -35,8 +35,8 @@ module.exports = (options = {}) => {
35
36
if (src) {
37
src = path.isAbsolute(src) ?
38
- path.join(options.root, src) :
39
- path.resolve(cwd, src);
+ path.resolve(cwd, src) :
+ path.join(options.root, src);
40
source = fs.readFileSync(src, options.encoding);
41
42
try {
0 commit comments