Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix deps check
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Feb 8, 2024
1 parent 6b3d4ad commit 7facbf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"archiver": "6.0.1",
"astro-sst": "^2.40.1",
"esbuild": "0.19.10",
"glob": "10.3.10"
"glob": "10.3.10",
"typescript": "5.3.3"
},
"devDependencies": {
"@aws-sdk/client-iot": "^3.501.0",
Expand All @@ -37,7 +38,6 @@
"aws-iot-device-sdk": "^2.2.13",
"openai": "4.24.7",
"prettier": "3.1.1",
"typescript": "5.3.3",
"vitest": "^1.2.2"
}
}
2 changes: 1 addition & 1 deletion pkg/project/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func CheckDeps(version, cfgPath string) bool {
return false
}
slog.Info("checking dependencies")
contents, err := os.ReadFile(filepath.Join(ResolveWorkingDir(cfgPath), "version"))
contents, err := os.ReadFile(filepath.Join(ResolvePlatformDir(cfgPath), "version"))
if err != nil {
return false
}
Expand Down

0 comments on commit 7facbf5

Please sign in to comment.