Skip to content

Commit ae5a81c

Browse files
committed
Merge branch 'develop', prepare 6.1.4
2 parents 568969c + 483882a commit ae5a81c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ dist/
1111

1212
package-lock.json
1313
exoframe.json
14+
yarn.lock

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe",
3-
"version": "6.1.3",
3+
"version": "6.1.4-dev",
44
"description": "Exoframe is a self-hosted tool that allows simple one-command deployments using Docker",
55
"main": "dist/index.js",
66
"repository": "[email protected]:exoframejs/exoframe.git",

src/commands/deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ exports.handler = async (args = {}) => {
183183
const tarStream = tar.pack(workdir, {
184184
// ignore files from ignore list
185185
ignore: name => {
186-
const relativePath = name.replace(`${workdir}/`, '');
186+
const relativePath = path.relative(workdir, name);
187187
const result = multimatch([relativePath], ignores).length !== 0;
188188
return result;
189189
},

0 commit comments

Comments
 (0)