Skip to content

Commit

Permalink
introduce ${fileBasenameNoExtension}
Browse files Browse the repository at this point in the history
fixes #1104
  • Loading branch information
isidorn committed Nov 1, 2016
1 parent e45b764 commit 69b02b1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
return paths.basename(this.getFilePath());
}

private get fileBasenameNoExtension(): string {
const basename = this.fileBasename;
return basename.slice(0, basename.length - paths.extname(basename).length);
}

private get fileDirname(): string {
return paths.dirname(this.getFilePath());
}
Expand Down

0 comments on commit 69b02b1

Please sign in to comment.