Skip to content

Commit

Permalink
fix postinstall TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobergman committed Mar 28, 2022
1 parent ac41f51 commit b09652d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sk-tidal-dashboard",
"version": "1.0.1",
"version": "1.0.2",
"description": "SignalK node server plugin that reads tidal data from the internet and displays it in a web app.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion postInstall.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const fs = require("fs");

const TARGET = "../../plugin-config-data/sk-tidal-dashboard.json";
const TARGET = "~/.signalk/plugin-config-data/sk-tidal-dashboard.json";
const SOURCE = "./sk-tidal-dashboard.json";

if (fs.existsSync(TARGET)) {
Expand Down

0 comments on commit b09652d

Please sign in to comment.