repo for angularjs testing training
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
403 B

var fs = require('fs'),
path = require('path'),
libDirPath,
jqueryFilePath;
libDirPath = path.join(__dirname, '../src/main/webapp/lib');
jqueryFilePath = path.join(libDirPath, 'jquery.min.js');
fs.exists(jqueryFilePath, function (exists) {
if(exists) {
fs.unlink(jqueryFilePath, function(err) {
if(err) {
throw err;
}
console.log('Successfully deleted jquery.min.js!');
});
}
});