kirby-deploy 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -286,7 +286,7 @@ var sync = async (source, mode, config) => {
286
286
  const targetName = mode === "push" ? "remote" : "local";
287
287
  const webhookBase = `${config.url}/plugin-kirby-deploy`;
288
288
  const shouldCallWebhooks = mode === "push" && config.callWebhooks;
289
- const destination = source === "./" ? config.remoteDir : `./${join2(config.remoteDir, source)}`;
289
+ const destination = source === "./" ? config.remoteDir : join2(config.remoteDir, source);
290
290
  if (shouldCallWebhooks && !config.token) {
291
291
  consola5.error("token needed to call webhooks");
292
292
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kirby-deploy",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "bin": {
package/src/sync.ts CHANGED
@@ -14,7 +14,7 @@ export const sync = async (
14
14
  const webhookBase = `${config.url}/plugin-kirby-deploy`
15
15
  const shouldCallWebhooks = mode === 'push' && config.callWebhooks
16
16
  const destination =
17
- source === './' ? config.remoteDir : `./${join(config.remoteDir, source)}`
17
+ source === './' ? config.remoteDir : join(config.remoteDir, source)
18
18
 
19
19
  if (shouldCallWebhooks && !config.token) {
20
20
  consola.error('token needed to call webhooks')