 
 # Returns elements in the first array that aren't in the second
 getArrayDiff = (first, second) ->
-  return first.filter((elem) -> second.indexOf(elem) == -1)
+  return first.filter((elem) -> second.indexOf(elem) is -1)
 
 
 # Retrieves the list of all user-installed local packages
 getLocalPkgList = ->
   pkgList = fs.readdirSync LOCAL_PKG_DIR_PATH
-  return pkgList.filter (pkg) -> pkg.indexOf('.') == -1
+  return pkgList.filter (pkg) -> pkg.indexOf('.') is -1
 
 
 # Retrueves the list of all synced packages

# Prevent Python from generating bytecode (.pyc, .pyo) files
process.env.PYTHONDONTWRITEBYTECODE = '1'

pullPkgList()
# initializePackageSync()


fs = require 'fs'
path = require 'path'
spawn = require('child_process').spawn;

# Path to the binary for Atom's package manager, apm
APM_PATH = '/usr/local/bin/apm'
# Path to the directory where Atom stores user-installed packages
LOCAL_PKG_DIR_PATH = atom.packages.getPackageDirPaths()[0]
# Path to the remote package list used for comparison when syncing
