Skip to content

Commit

Permalink
Update build.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitPaul0007 authored Sep 12, 2023
1 parent 67a8cea commit 119d3e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.cjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/usr/bin/env node
"use strict";
/* eslint-disable @sinonjs/no-prototype-methods/no-prototype-methods */
var fs = require("fs");
var browserify = require("browserify");
var pkg = require("./package.json");
var sinon = require("./lib/sinon");
const fs = require("fs");
const browserify = require("browserify");
const pkg = require("./package.json");
const sinon = require("./lib/sinon");

// YYYY-MM-DD
var date = new Date().toISOString().split("T")[0];
const date = new Date().toISOString().split("T")[0];

// Keep the preamble on one line to retain source maps
var preamble = `/* Sinon.JS ${pkg.version}, ${date}, @license BSD-3 */`;
const preamble = `/* Sinon.JS ${pkg.version}, ${date}, @license BSD-3 */`;

try {
fs.mkdirSync("pkg");
Expand Down

0 comments on commit 119d3e4

Please sign in to comment.