update to support latest deps

This commit is contained in:
2017-02-19 03:29:54 +01:00
parent 930d90345a
commit f66864d0af
16 changed files with 370 additions and 154 deletions

View File

@@ -1,10 +1,10 @@
import 'typings-global'
import plugins = require('./smartpath.plugins')
export let isDir = function(pathArg: string){
return !isFile(pathArg)
export let isDir = function (pathArg: string) {
return !isFile(pathArg)
}
export let isFile = function(pathArg){
return /\.[a-zA-Z]*$/.test(pathArg) // checks if there is a .anything at the end
export let isFile = function (pathArg) {
return /\.[a-zA-Z]*$/.test(pathArg) // checks if there is a .anything at the end
}