Skip to content

Incompatibility with git-plus commits #36

@Frozen-byte

Description

@Frozen-byte

Steps to reproduce

  1. install git-plus, v5.13.4
  2. create a commit and press CTRL+S to commit

Atom Version: 1.7.3
System: Ubuntu 16.04
Thrown From: save-commands package, v0.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'isDirectory' of undefined

At /home/frozen/.atom/packages/save-commands/lib/atom-save-commands.coffee:294

TypeError: Cannot read property 'isDirectory' of undefined
    at /home/frozen/.atom/packages/save-commands/lib/atom-save-commands.coffee:294:12
    at FSReqWrap.oncomplete (fs.js:82:15)

Commands

  2x -1:00.5.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:59.1.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:58.8.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:58.5.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:58.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:58.1.0 core:paste (atom-text-editor.editor.is-focused)
     -0:56.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:55 core:save (atom-text-editor.editor.is-focused)
     -0:54.8.0 linter:lint (atom-text-editor.editor.is-focused)
     -0:35 command-palette:toggle (atom-text-editor.editor.is-focused)
  5x -0:31.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:29.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:29.4.0 git-plus:add-and-commit (atom-text-editor.editor)
  6x -0:13.9.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:01.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:01.2.0 linter:lint (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "themes": [
      "atom-light-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-typescript, v8.9.1
default-language, v0.3.0
git-plus, v5.13.4
highlight-selected, v0.11.2
language-mason, v2.0.4
less-autocompile, v1.0.0
linter, v1.11.4
linter-tslint, v0.9.3
minimap, v4.23.5
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.1
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
punchclock, v0.6.5
save-commands, v0.6.11

# Dev
No dev packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions