Skip to content

Commit

Permalink
fix: use resolved path for config file comparision
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Mar 25, 2021
1 parent 289a8d5 commit 0607023
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Empty file modified bin/twind.js
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export const findConfig = async (cwd = process.cwd()): Promise<string | undefine
...TWIND_CONFIG_FILES.map((file) => Path.join('src', file)),
...TWIND_CONFIG_FILES.map((file) => Path.join('public', file)),
...TAILWIND_CONFIG_FILES,
],
{ cwd },
].map((file) => Path.resolve(cwd, file)),
)
}

Expand Down

0 comments on commit 0607023

Please sign in to comment.