Skip to content

Commit

Permalink
Revert "Merge pull request #1 from pattern-lab/dev"
Browse files Browse the repository at this point in the history
This reverts commit 26db979, reversing
changes made to fc90750.
  • Loading branch information
Maximilian authored and mfranzke committed Dec 29, 2022
1 parent fd8eb66 commit 09490e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli/bin/scaffold.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
const path = require('path');
const execa = require('execa');
const fs = require('fs-extra');
const fs = require('fs');
const wrapAsync = require('./utils').wrapAsync;
const mkdirsAsync = require('./utils').mkdirsAsync;

Expand All @@ -18,7 +18,6 @@ const scaffold = (projectDir, sourceDir, publicDir, exportDir) =>
wrapAsync(function* () {
const projectPath = path.join(process.cwd(), projectDir);
if (!fs.existsSync(path.join(projectPath, 'package.json'))) {
fs.ensureDirSync(projectPath);
execa.sync('npm', ['init', '-y'], {
cwd: projectPath,
});
Expand Down

0 comments on commit 09490e8

Please sign in to comment.