Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonDriveApps/sdk
/ finish
Function
finish
cli/src/cli/readPasswordLine.ts:31–39 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
29
};
30
31
const
finish = (value: string) => {
32
if
(settled) {
33
return
;
34
}
35
settled = true;
36
cleanup();
37
stdout.write(
'\n'
);
38
resolve(value);
39
};
40
41
const
onEnd = () => {
42
finish(password);
Callers
2
onEnd
Function · 0.85
onData
Function · 0.85
Calls
2
cleanup
Function · 0.85
write
Method · 0.45
Tested by
no test coverage detected