Skip to content

Commit dc895da

Browse files
committed
Added Prettier config and prettied files
1 parent f028954 commit dc895da

File tree

6 files changed

+63
-5
lines changed

6 files changed

+63
-5
lines changed

.idea/codeStyles/Project.xml

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 120
4+
}

deploy.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const path = require("path");
2-
const exec = require("@actions/exec");
1+
const path = require('path');
2+
const exec = require('@actions/exec');
33

44
let deploy = function (folder, bucket, bucketRegion, distId, invalidation) {
55
return new Promise((resolve, reject) => {

index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ async function run() {
1010
const invalidation = core.getInput('invalidation');
1111

1212
await deploy(folder, bucket, bucketRegion, distId, invalidation);
13-
}
14-
catch (error) {
13+
} catch (error) {
1514
core.setFailed(error.message);
1615
}
1716
}
1817

19-
run()
18+
run();

0 commit comments

Comments
 (0)