We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a8cea commit 8d1f85bCopy full SHA for 8d1f85b
build.cjs
@@ -1,16 +1,16 @@
1
#!/usr/bin/env node
2
"use strict";
3
/* eslint-disable @sinonjs/no-prototype-methods/no-prototype-methods */
4
-var fs = require("fs");
5
-var browserify = require("browserify");
6
-var pkg = require("./package.json");
7
-var sinon = require("./lib/sinon");
+const fs = require("fs");
+const browserify = require("browserify");
+const pkg = require("./package.json");
+const sinon = require("./lib/sinon");
8
9
// YYYY-MM-DD
10
-var date = new Date().toISOString().split("T")[0];
+const date = new Date().toISOString().split("T")[0];
11
12
// Keep the preamble on one line to retain source maps
13
-var preamble = `/* Sinon.JS ${pkg.version}, ${date}, @license BSD-3 */`;
+const preamble = `/* Sinon.JS ${pkg.version}, ${date}, @license BSD-3 */`;
14
15
try {
16
fs.mkdirSync("pkg");
0 commit comments