Skip to content

Commit

Permalink
Merge pull request #1327 from sharetribe/fix-copyfilesync-call-in-con…
Browse files Browse the repository at this point in the history
…fig-script

Fix fs.copyFileSync call in config script
  • Loading branch information
Gnito authored Jul 21, 2020
2 parents 645818d + 7677699 commit 85374e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2020-XX-XX

## [v6.1.1] 2020-07-21

- [fix] Fix config script for NodeJS v14.5.0
[#1327](https://github.com/sharetribe/ftw-daily/pull/1327)

[v6.1.1]: https://github.com/sharetribe/flex-template-web/compare/v6.1.0...v6.1.1

## [v6.1.0] 2020-07-01

- [fix] MainPanel: search filter bug. Address and bounds are handled outside of MainPanel, URL
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "6.1.0",
"version": "6.1.1",
"private": true,
"license": "Apache-2.0",
"dependencies": {
Expand Down
4 changes: 1 addition & 3 deletions scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,7 @@ Note that the .env file is a hidden file so it might not be visible directly in
* Create new .env file using .env-template
*/
const createEnvFile = () => {
fs.copyFileSync('./.env-template', './.env', err => {
if (err) throw err;
});
fs.copyFileSync('./.env-template', './.env', fs.constants.COPYFILE_EXCL);
};

/**
Expand Down

0 comments on commit 85374e0

Please sign in to comment.