File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/angular/cli/models Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
// tslint:disable:no-global-tslint-disable no-any
10
10
import { logging , strings , tags , terminal } from '@angular-devkit/core' ;
11
+ import * as path from 'path' ;
11
12
import { getWorkspace } from '../utilities/config' ;
12
13
import {
13
14
Arguments ,
@@ -123,7 +124,10 @@ export abstract class Command<T extends BaseCommandOptions = BaseCommandOptions>
123
124
if ( this . workspace . configFile ) {
124
125
this . logger . fatal ( tags . oneLine `
125
126
The ${ this . description . name } command requires to be run outside of a project, but a
126
- project definition was found at "${ this . workspace . configFile } ".
127
+ project definition was found at "${ path . join (
128
+ this . workspace . root ,
129
+ this . workspace . configFile ,
130
+ ) } ".
127
131
` ) ;
128
132
throw 1 ;
129
133
}
You can’t perform that action at this time.
0 commit comments