Skip to content

Commit

Permalink
Use os.EOL after dry-run log.
Browse files Browse the repository at this point in the history
  • Loading branch information
treshugart committed Jun 12, 2019
1 parent cd66ab3 commit edd240e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ const fs = require("fs-extra");
const isArray = require("lodash/isArray");
const isPlainObject = require("lodash/isPlainObject");
const mergeWith = require("lodash/mergeWith");
const reduce = require("lodash/reduce");
const os = require("os");
const path = require("path");
const pkgUp = require("pkg-up");
const reduce = require("lodash/reduce");
const { handler } = require("./handler");

const configDefaults = {
Expand Down Expand Up @@ -58,8 +59,10 @@ async function sync(cfg, opt) {

// Ensure they know they're doing a dry run.
if (opt.dry) {
console.log("A dry run is being performed. No files will be output.");
console.log();
console.log(
"A dry run is being performed. No files will be output.",
os.EOL
);
}

// Includes are like Babel plugins.
Expand Down

0 comments on commit edd240e

Please sign in to comment.