Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
fix(results): implemented minimum shape for results object
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Mar 25, 2019
1 parent 54acfa7 commit 0cafde5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scaffolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import scaffoldConfig from './config';
export default async function ({projectRoot}) {
await scaffoldConfig({projectRoot});

return {};
return {vcsIgnore: {files: [], directories: []}};
}
2 changes: 1 addition & 1 deletion test/unit/scaffolder-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ suite('scaffolder', () => {
test('that the config is scaffolded', async () => {
const projectRoot = any.string();

assert.deepEqual(await scaffold({projectRoot}), {});
assert.deepEqual(await scaffold({projectRoot}), {vcsIgnore: {files: [], directories: []}});
assert.calledWith(configScaffolder.default, {projectRoot});
});
});

0 comments on commit 0cafde5

Please sign in to comment.