Skip to content

Commit

Permalink
downgrade prettier version since actionsx/prettier@v3 doesn't support…
Browse files Browse the repository at this point in the history
… the latest version
  • Loading branch information
Vidya2606 committed Oct 2, 2024
1 parent 25fc568 commit ec71bf4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/node": "^22.7.4",
"@vercel/ncc": "^0.38.2",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"prettier": "^2.8.8",
"ts-jest": "^29.2.5",
"typescript": "5.6.2"
}
Expand Down
5 changes: 3 additions & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ export async function run() {
.map((manifest) => manifest.trim()) // remove surrounding whitespace
.filter((manifest) => manifest.length > 0) // remove any blanks

const fullManifestFilePaths =
await getFilesFromDirectoriesAndURLs(manifestFilePaths)
const fullManifestFilePaths = await getFilesFromDirectoriesAndURLs(
manifestFilePaths
)
const kubectlPath = await getKubectlPath()
const namespace = core.getInput('namespace') || 'default'
const isPrivateCluster =
Expand Down
5 changes: 3 additions & 2 deletions src/strategyHelpers/blueGreen/smiBlueGreenHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ export async function createTrafficSplitObject(
): Promise<TrafficSplitObject> {
// cache traffic split api version
if (!trafficSplitAPIVersion)
trafficSplitAPIVersion =
await kubectlUtils.getTrafficSplitAPIVersion(kubectl)
trafficSplitAPIVersion = await kubectlUtils.getTrafficSplitAPIVersion(
kubectl
)

// retrieve annotations for TS object
const annotations = inputAnnotations
Expand Down
5 changes: 3 additions & 2 deletions src/strategyHelpers/canary/smiCanaryHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,9 @@ async function getTrafficSplitObject(
): Promise<string> {
// cached version
if (!trafficSplitAPIVersion) {
trafficSplitAPIVersion =
await kubectlUtils.getTrafficSplitAPIVersion(kubectl)
trafficSplitAPIVersion = await kubectlUtils.getTrafficSplitAPIVersion(
kubectl
)
}

return JSON.stringify({
Expand Down

0 comments on commit ec71bf4

Please sign in to comment.