Kerollmops / Kerollmops/atom-header-42
Object.basename is deprecated.
- Dominant language
- CoffeeScript
- Stars
- 15
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Arguments to `path.basename` must be strings
```
Object.basename (/usr/share/atom/resources/app.asar/src/electron-shims.js:31:10)
Object.getHeaderText (/home/ovidiu/.atom/packages/header-42/lib/header-42.coffee:74:23)
Object.getHeader (/home/ovidiu/.atom/packages/header-42/lib/header-42.coffee:88:27)
Object.insert (/home/ovidiu/.atom/packages/header-42/lib/header-42.coffee:129:21)
atom-workspace.subscriptions.add.atom.commands.add.header-42:insert (/home/ovidiu/.atom/packages/header-42/lib/header-42.coffee:52:26)
CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:259:29)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in lib/header-42.coffee at getHeaderText around line 74, then trace the value passed to path.basename and reproduce the header insertion command in Atom. Done means the command no longer reports the basename argument error and still inserts the expected header.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100