Skip to content

Commit

Permalink
fix pnpm prettier in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondkmp committed Nov 6, 2024
1 parent a1ee041 commit 74f726d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint-staged": "lint-staged",
"lint-deps": "node ./test/out/helpers/checkDeps.js",
"pretest": "pnpm lint-deps && pnpm lint",
"prettier": "prettier 'packages/**/*.{ts, js}' 'test/src/**/*.ts' --write",
"prettier": "prettier 'packages/**/*.{ts,js}' test/src/**/*.ts --write",
"///": "Please see https://github.com/electron-userland/electron-builder/blob/master/CONTRIBUTING.md#run-test-using-cli how to run particular test instead full (and very slow) run",
"test": "node ./test/out/helpers/runTests.js skipArtifactPublisher",
"test-all": "pnpm compile && pnpm pretest && pnpm ci:test",
Expand Down
12 changes: 6 additions & 6 deletions test/src/globTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,22 @@ test.ifNotWindows(
)
)

test.ifNotWindows(
"symlinks everywhere w/ static framework", () =>
assertPack("test-app-symlink-framework",
test.ifNotWindows("symlinks everywhere w/ static framework", () =>
assertPack(
"test-app-symlink-framework",
{
targets: Platform.LINUX.createTarget(DIR_TARGET),
config: {
files: ["!hello-world"]
}
files: ["!hello-world"],
},
},
{
isInstallDepsBefore: true,
projectDirCreated: async projectDir => {
await modifyPackageJson(projectDir, data => {
data.dependencies = {
debug: "4.1.1",
...data.dependencies
...data.dependencies,
}
})
return fs.symlink(path.join(projectDir, "index.js"), path.join(projectDir, "foo.js"))
Expand Down

0 comments on commit 74f726d

Please sign in to comment.