Skip to content

Uncaught TypeError: Cannot read property 'split' of undefined #2

@0xGuigui

Description

@0xGuigui

[Enter steps to reproduce:]

  1. ctrl shift h

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Unknown Windows version
Thrown From: epitech-utils package 1.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At C:\Users\Guilhem Jéhanno\.atom\packages\epitech-utils\lib\epitech-utils.js:48

TypeError: Cannot read property 'split' of undefined
    at Object.getFile (/packages/epitech-utils/lib/epitech-utils.js:48:25)
    at Object.insertHeader (/packages/epitech-utils/lib/epitech-utils.js:64:8)
    at HTMLElement.epitechUtilsInsertHeader (/packages/epitech-utils/lib/epitech-utils.js:11:46)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:350265)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1230852)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1226986)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:284919)

Commands

  2x -3:27.9.0 github:toggle-github-tab (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:17.6.0 application:add-project-folder (div.tool-panel.tree-view)
  6x -2:54 tree-view:move (span.name.icon.icon-file-directory)
     -2:09.0 core:confirm (input.hidden-input)
     -0:08.6.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -0:07.6.0 epitech-utils:insert-header (input.hidden-input)

Non-Core Packages

epitech-utils 1.2.0 
teletype 0.13.4 

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