mirror of
https://github.com/atom/atom.git
synced 2026-01-13 08:57:59 -05:00
Initial fix to `helpers` done by Utkarsh, Spec written by me. Co-authored-by: Utkarsh Gupta <utkarshgupta137@gmail.com>
10 lines
202 B
JavaScript
10 lines
202 B
JavaScript
'use babel';
|
|
import { Directory } from 'atom';
|
|
|
|
export default async function(goalPath) {
|
|
if (goalPath) {
|
|
return atom.project.repositoryForDirectory(new Directory(goalPath));
|
|
}
|
|
return null;
|
|
}
|