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 88
99// tslint:disable:no-global-tslint-disable no-any
1010import { logging , strings , tags , terminal } from '@angular-devkit/core' ;
11+ import * as path from 'path' ;
1112import { getWorkspace } from '../utilities/config' ;
1213import {
1314 Arguments ,
@@ -123,7 +124,10 @@ export abstract class Command<T extends BaseCommandOptions = BaseCommandOptions>
123124 if ( this . workspace . configFile ) {
124125 this . logger . fatal ( tags . oneLine `
125126 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+ ) } ".
127131 ` ) ;
128132 throw 1 ;
129133 }
You can’t perform that action at this time.
0 commit comments