Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 0d53871

Browse files
committed
Formatting
1 parent 1edee3b commit 0d53871

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.node/index.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ const destination = "../Sources/swift-doc/Generated/CSS.swift";
88
const input = fs.readFileSync(source);
99

1010
postcss([
11-
require("postcss-preset-env")({
12-
stage: 0,
13-
features: {
14-
"matches-pseudo-class": false,
15-
},
16-
}),
17-
require("cssnano")({
18-
preset: "default",
19-
}),
11+
require("postcss-preset-env")({
12+
stage: 0,
13+
features: {
14+
"matches-pseudo-class": false,
15+
},
16+
}),
17+
require("cssnano")({
18+
preset: "default",
19+
}),
2020
])
21-
.process(input, { from: source, to: destination })
22-
.then((result) => {
23-
const output = [
24-
`// This file was automatically generated and should not be edited.`,
25-
`let css: String = #"${result.css}"#`,
26-
].join("\n\n") + "\n";
21+
.process(input, { from: source, to: destination })
22+
.then((result) => {
23+
const output = [
24+
`// This file was automatically generated and should not be edited.`,
25+
`let css: String = #"${result.css}"#`,
26+
].join("\n\n") + "\n";
2727

28-
fs.mkdir(path.dirname(destination), () => {
29-
fs.writeFileSync(destination, output);
30-
});
28+
fs.mkdir(path.dirname(destination), () => {
29+
fs.writeFileSync(destination, output);
3130
});
31+
});

0 commit comments

Comments
 (0)