You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throws exception when using hint cli in a git worktree.
Details
Steps to reproduce:
git clone repository
git worktree add develop ../develop
cd ../develop
hint /.
- (node:39249) [DEP0040] DeprecationWarning: The punycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ... to show where the warning was created) ✖ Analyzing file:///Users/timcleave … e-static-assets-properly AnalyzerError: ENOTDIR: not a directory, stat '/Users/timcleaver/Documents/Idemitsu/idemitsu-harlequin-ui/worktrees/serve-static-assets-properly/.git/**' at Analyzer.analyze (/usr/local/lib/node_modules/hint/dist/src/lib/analyzer.js:151:23) at async exports.default (/usr/local/lib/node_modules/hint/dist/src/lib/cli/analyze.js:219:9) at async /usr/local/lib/node_modules/hint/dist/src/lib/cli/actions.js:8:20 at async Object.execute (/usr/local/lib/node_modules/hint/dist/src/lib/cli.js:38:23) at async run (/usr/local/lib/node_modules/hint/dist/src/bin/hint.js:21:24) { status: 'AnalyzeError' }
As per the way git worktrees work, .git is a file. The contents of the file point to the files in the real .git folder. see: https://git-scm.com/docs/git-worktree
Contents of .hintrc: { "extends": ["development"] }
The text was updated successfully, but these errors were encountered:
🐞 Bug report
Description
Throws exception when using hint cli in a git worktree.
Details
Steps to reproduce:
- (node:39249) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead. (Use
node --trace-deprecation ...to show where the warning was created) ✖ Analyzing file:///Users/timcleave … e-static-assets-properly AnalyzerError: ENOTDIR: not a directory, stat '/Users/timcleaver/Documents/Idemitsu/idemitsu-harlequin-ui/worktrees/serve-static-assets-properly/.git/**' at Analyzer.analyze (/usr/local/lib/node_modules/hint/dist/src/lib/analyzer.js:151:23) at async exports.default (/usr/local/lib/node_modules/hint/dist/src/lib/cli/analyze.js:219:9) at async /usr/local/lib/node_modules/hint/dist/src/lib/cli/actions.js:8:20 at async Object.execute (/usr/local/lib/node_modules/hint/dist/src/lib/cli.js:38:23) at async run (/usr/local/lib/node_modules/hint/dist/src/bin/hint.js:21:24) { status: 'AnalyzeError' }
As per the way git worktrees work, .git is a file. The contents of the file point to the files in the real .git folder. see: https://git-scm.com/docs/git-worktree
Contents of .hintrc:
{ "extends": ["development"] }
The text was updated successfully, but these errors were encountered: