Skip to content

Commit 18596cd

Browse files
committed
fix: fixed remove file method ubuntu
1 parent c031b18 commit 18596cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-storefront/cli",
3-
"version": "4.2.1",
3+
"version": "4.2.2",
44
"description": "Vue Storefront's CLI.",
55
"bin": "./bin/run",
66
"homepage": "https://github.com/vuestorefront/vue-storefront",

packages/cli/src/domains/magento2/functions/copyEnv.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const copyEnv = async (vsfDirName: string, magentoDomain?: string) => {
3131
process.exit(1);
3232
}
3333

34-
fs.rmdirSync(path.join(vsfDirName, '.env.example'));
34+
fs.unlinkSync(path.join(vsfDirName, '.env.example'));
3535
};
3636

3737
export default copyEnv;

0 commit comments

Comments
 (0)