mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
Linting fix
This commit is contained in:
parent
99f15c507d
commit
fdd7eb3446
@ -77,7 +77,7 @@ function copyJsAndLibrary (projectPath, shared, projectName, isLegacy) {
|
|||||||
|
|
||||||
// Don't fail if there are no old jars.
|
// Don't fail if there are no old jars.
|
||||||
exports.setShellFatal(false, function () {
|
exports.setShellFatal(false, function () {
|
||||||
shell.ls(path.join(projectPath, 'libs', 'cordova-*.jar')).forEach(function (oldJar) {
|
shell.ls(path.join(app_path, 'libs', 'cordova-*.jar')).forEach(function (oldJar) {
|
||||||
console.log('Deleting ' + oldJar);
|
console.log('Deleting ' + oldJar);
|
||||||
shell.rm('-f', oldJar);
|
shell.rm('-f', oldJar);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user