Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 538e13f

Browse files
authored
Merge pull request #61 from apiaryio/honzajavorek/save-exact
Use --save-exact to prevent carets or tildas
2 parents ecc6115 + 6c49203 commit 538e13f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To use the test suite, first read the docs about [how to create a new hooks hand
1818
}
1919
```
2020

21-
1. Run `npm install dredd-hooks-template --save-dev` to install and declare this test suite as your development dependency.
21+
1. Run `npm install dredd-hooks-template --save-dev --save-exact` to install and declare this test suite as your development dependency.
2222
1. Run `npx dredd-hooks-template init` to get a copy of the test suite in the `./features` directory.
2323
1. Open the feature files in `./features/*.feature` and in all of them
2424

cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function upgrade() {
5858

5959
// upgrade the package
6060
const pkg = `dredd-hooks-template@${version}`;
61-
run('npm', ['install', pkg, '--save-dev'], { cwd: PROJECT_DIR });
61+
run('npm', ['install', pkg, '--save-dev', '--save-exact'], { cwd: PROJECT_DIR });
6262

6363
// copy '*.feature' files from the upgraded 'dredd-hooks-template' package
6464
// to the project, but don't overwrite the existing feature files, add these

0 commit comments

Comments
 (0)