mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
refactor: remove shelljs dependency (#842)
Co-authored-by: エリス <erisu@users.noreply.github.com>
This commit is contained in:
@@ -18,9 +18,8 @@
|
||||
*/
|
||||
|
||||
const os = require('os');
|
||||
const fs = require('fs');
|
||||
const fs = require('fs-extra');
|
||||
const path = require('path');
|
||||
const shell = require('shelljs');
|
||||
const execa = require('execa');
|
||||
const { PluginInfoProvider } = require('cordova-common');
|
||||
|
||||
@@ -34,7 +33,7 @@ describe('plugin add', function () {
|
||||
tmpDir = fs.realpathSync(fs.mkdtempSync(tmpDirTemplate));
|
||||
});
|
||||
afterEach(() => {
|
||||
shell.rm('-rf', tmpDir);
|
||||
fs.removeSync(tmpDir);
|
||||
});
|
||||
|
||||
it('Test#001 : create project and add a plugin with framework', function () {
|
||||
|
||||
Reference in New Issue
Block a user