BREAKING CHANGE(package): change scope

This commit is contained in:
2018-07-21 23:26:11 +02:00
parent 09d424e972
commit 53905df003
30 changed files with 1185 additions and 636 deletions

View File

@@ -1,10 +1,10 @@
import 'typings-global'
import plugins = require('./smartpath.plugins')
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
};