Skip to content

Commit 57cde2b

Browse files
author
Barthelemy Ledoux
committed
ci: try using es5 for danger
1 parent 08a7440 commit 57cde2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- stage: test
3535
script:
3636
- npx danger ci
37+
script:
3738
- yarn lint
3839
- yarn test:unit --runInBand
3940
- yarn test:e2e --headless

dangerfile.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* eslint-disable */
2-
import * as fs from "fs";
3-
import * as path from "path";
4-
5-
var validateMessage = require("validate-commit-msg");
2+
const fs = require("fs");
3+
const path = require("path");
4+
const validateMessage = require("validate-commit-msg");
65

76
const packageChanged = danger.git.modified_files.includes("package.json");
87
const lockfileChanged = danger.git.modified_files.includes("yarn.lock");

0 commit comments

Comments
 (0)