Skip to content

Commit b185d3a

Browse files
committed
bugfix: standalone mode breaks with "Cannot find module '../package.json'", see #61
1 parent 38ac8e2 commit b185d3a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/angular-cli-ghpages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var
44
path = require('path'),
55
engine = require('./engine/engine'),
66
defaults = require('./engine/defaults').defaults,
7-
pjson = require('../package.json'),
7+
pjson = require('./package.json'),
88
commander = require('commander');
99

1010
// unfortunately defaults-file is ignored for --no-silent & --no-dotfiles

src/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-cli-ghpages",
3-
"version": "0.6.0-rc.0",
3+
"version": "0.6.0-rc.1",
44
"description": "Deployment from the Angular CLI to GitHub pages (or any other branch on any other remote)",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)