nativescript-theme-core
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "nativescript-theme-core", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Telerik NativeScript Core Theme", | ||
@@ -5,0 +5,0 @@ "author": "Telerik <support@telerik.com>", |
@@ -75,11 +75,15 @@ /************************************************************************************* | ||
function copyFolder(src, dest) { | ||
try { | ||
var files = fs.readdirSync(src); | ||
files.forEach(function(file){ | ||
var curPath = src + "/" + file; | ||
if(fs.lstatSync(curPath).isDirectory()) { // check to see if we need to recurse | ||
copyFolder(curPath, dest + "/" + file); | ||
} else { // copy file | ||
copyFile(src, dest, file); | ||
} | ||
files.forEach(function (file) { | ||
var curPath = src + "/" + file; | ||
if (fs.lstatSync(curPath).isDirectory()) { // check to see if we need to recurse | ||
copyFolder(curPath, dest + "/" + file); | ||
} else { // copy file | ||
copyFile(src, dest, file); | ||
} | ||
}); | ||
} catch (err) { | ||
console.log('Skipping ' + src + ' copy.'); | ||
} | ||
} | ||
@@ -86,0 +90,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58253
256