Skip to content

Commit

Permalink
Updated fs-extra
Browse files Browse the repository at this point in the history
  • Loading branch information
SuparnaSuresh committed Nov 5, 2024
1 parent 0264f37 commit 2cf8f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/utils/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MAVEN_PROJECT, STOP_DASHBOARD_MAC_ACTION } from '../definitions/consta
import { MapContextMenuforMac } from './macUtils';
import clipboard = require('clipboardy');
import { expect } from 'chai';
import * as fsextra from 'fs-extra';
import * as fse from 'fs-extra';

export function delay(millisec: number) {
return new Promise( resolve => setTimeout(resolve, millisec) );
Expand Down Expand Up @@ -208,7 +208,7 @@ export function getNewGradleProjectNameWithSpace(): any {
*/

export async function renameProject(): Promise<void>{
fsextra.copy(getGradleProjectPath(),getNewGradleProjectNameWithSpace())
fse.copy(getGradleProjectPath(),getNewGradleProjectNameWithSpace())
.then(()=> console.log("Project renamed., Gradle Project path is :"+getNewGradleProjectNameWithSpace()))
.catch(err => console.log("Error renaming the project"));
}
Expand Down

0 comments on commit 2cf8f32

Please sign in to comment.