message: building_construction: Cleaned up some code
diff: @@ -14,9 +14,9 @@ import parseDirectory from '../../utils/directory.parser'
  import getFormat from '../../utils/format.parser'
  import normalizeDir from '../../utils/directory.normalizer'
  -const fs = window.require("fs-extra")
  -const trash = window.require("trash")
  -const path = window.require("path")
  +const fs = window.require('fs-extra')
  +const trash = window.require('trash')
  +const path = window.require('path')
  function getMyStatus( fileDir, gitChanges, projectDir ){
  const filePath = normalizeDir( fileDir )
  @@ -226,7 +226,7 @@ function Item({
  new ContextMenu({
  list:[
  {
  - label:"New folder",
  + label: 'New folder',
  action: () => {
  const itemContainer = this.parentElement
  newDirectoryDialog({
  @@ -238,7 +238,7 @@ function Item({
  }
  },
  {
  - label:"New file",
  + label: 'New file',
  action: () => {
  const itemContainer = this.parentElement
  newDirectoryDialog({
  @@ -251,7 +251,7 @@ function Item({
  },
  {},
  {
  - label:"Remove folder",
  + label: 'Remove folder',
  action: () => {
  if( level != 0 ){
  removeDirectoryOrFile(this)
  @@ -266,7 +266,7 @@ function Item({
  new ContextMenu({
  list:[
  {
  - label:"Remove file",
  + label: 'Remove file',
  action: () => {
  removeDirectoryOrFile(this)
  }
  @@ -296,7 +296,7 @@ function Item({
  const fileExtension = isFolder? null : getFormat(fullpath)
  const itemIcon = target.getElementsByClassName('icon')[0]
  const itemArrow = target.getElementsByClassName('arrow')[0]
  - const gitStatus = target.getAttribute("git-status") || true
  + const gitStatus = target.getAttribute('git-status') || true
  const itemParentFolder = path.dirname(itemDirectory)
  const itemProjectDirectory = parentFolder
  const gitResult = getMyStatus(
  @@ -327,7 +327,6 @@ function Item({
  })
  explorerState.on('newFile',({ containerFolder, fileName }) => {
  if( isFolder && containerFolder === itemDirectory ){
  - console.log(level,itemDirectory)
  explorerState.emit('createItem',{
  container: this,
  containerFolder,
  @@ -483,7 +482,7 @@ function getFolderClosedIcon( folderName ){
  if( Icons[`folder.closed.${folderName}`] ) {
  return Icons[`folder.closed.${folderName}`]
  }else{
  - return Icons["folder.closed"]
  + return Icons['folder.closed']
  }
  }
  @@ -494,7 +493,7 @@ function setStateOpen( target ){
  if( Icons[`folder.opened.${folderName}`] ) {
  itemIcon.src = Icons[`folder.opened.${folderName}`]
  }else{
  - itemIcon.src = Icons["folder.opened"]
  + itemIcon.src = Icons['folder.opened']
  }
  }
  @@ -505,13 +504,13 @@ function setStateClosed( target ){
  if( Icons[`folder.closed.${folderName}`] ) {
  itemIcon.src = Icons[`folder.closed.${folderName}`]
  }else{
  - itemIcon.src = Icons["folder.closed"]
  + itemIcon.src = Icons['folder.closed']
  }
  }
  function removeDirectoryOrFile( element ){
  areYouSureDialog().then( () => {
  - trash([normalizeDir(element.parentElement.getAttribute("fullpath"))]).then( () => {
  + trash([normalizeDir(element.parentElement.getAttribute('fullpath'))]).then( () => {
  element.parentElement && element.parentElement.state && element.parentElement.state.emit('destroyed')
  });
  }).catch( err => {
  