We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23839ee commit 5e56831Copy full SHA for 5e56831
.gitignore
@@ -11,3 +11,4 @@ dist/
11
12
package-lock.json
13
exoframe.json
14
+yarn.lock
src/commands/deploy.js
@@ -183,7 +183,7 @@ exports.handler = async (args = {}) => {
183
const tarStream = tar.pack(workdir, {
184
// ignore files from ignore list
185
ignore: name => {
186
- const relativePath = name.replace(`${workdir}/`, '');
+ const relativePath = path.relative(workdir, name);
187
const result = multimatch([relativePath], ignores).length !== 0;
188
return result;
189
},
0 commit comments